@cossistant/react 0.0.7 → 0.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. package/api.d.ts +71 -0
  2. package/api.d.ts.map +1 -0
  3. package/checks.d.ts +189 -0
  4. package/checks.d.ts.map +1 -0
  5. package/clsx.d.ts +7 -0
  6. package/clsx.d.ts.map +1 -0
  7. package/coerce.d.ts +9 -0
  8. package/coerce.d.ts.map +1 -0
  9. package/conversation.d.ts +227 -223
  10. package/conversation.d.ts.map +1 -1
  11. package/core.d.ts +35 -0
  12. package/core.d.ts.map +1 -0
  13. package/errors.d.ts +121 -0
  14. package/errors.d.ts.map +1 -0
  15. package/errors2.d.ts +24 -0
  16. package/errors2.d.ts.map +1 -0
  17. package/hooks/private/use-grouped-messages.d.ts +1 -1
  18. package/hooks/use-conversation-seen.d.ts +1 -1
  19. package/hooks/use-create-conversation.d.ts +1 -1
  20. package/index2.d.ts +4 -0
  21. package/index3.d.ts +1 -0
  22. package/index4.d.ts +18 -0
  23. package/index4.d.ts.map +1 -0
  24. package/index5.d.ts +999 -0
  25. package/index5.d.ts.map +1 -0
  26. package/index6.d.ts +6 -0
  27. package/metadata.d.ts +1 -0
  28. package/openapi-generator.d.ts +1 -0
  29. package/openapi-generator2.d.ts +1 -0
  30. package/openapi-generator3.d.ts +1 -0
  31. package/openapi30.d.ts +125 -0
  32. package/openapi30.d.ts.map +1 -0
  33. package/openapi31.d.ts +131 -0
  34. package/openapi31.d.ts.map +1 -0
  35. package/package.json +16 -4
  36. package/parse.d.ts +17 -0
  37. package/parse.d.ts.map +1 -0
  38. package/primitives/avatar/image.d.ts +1 -1
  39. package/react.d.ts +4 -0
  40. package/realtime/seen-store.d.ts +1 -1
  41. package/realtime-events.d.ts +276 -274
  42. package/realtime-events.d.ts.map +1 -1
  43. package/registries.d.ts +32 -0
  44. package/registries.d.ts.map +1 -0
  45. package/schemas.d.ts +670 -93
  46. package/schemas.d.ts.map +1 -1
  47. package/schemas2.d.ts +320 -0
  48. package/schemas2.d.ts.map +1 -0
  49. package/schemas3.d.ts +98 -0
  50. package/schemas3.d.ts.map +1 -0
  51. package/specification-extension.d.ts +9 -0
  52. package/specification-extension.d.ts.map +1 -0
  53. package/standard-schema.d.ts +59 -0
  54. package/standard-schema.d.ts.map +1 -0
  55. package/support/components/button.d.ts +1 -1
  56. package/support/components/text-effect.d.ts +2 -1
  57. package/support/components/text-effect.d.ts.map +1 -1
  58. package/support/components/typing-indicator.d.ts.map +1 -1
  59. package/support/utils/index.d.ts +1 -1
  60. package/timeline-item.d.ts +97 -93
  61. package/timeline-item.d.ts.map +1 -1
  62. package/types.d-BJcRxCew.d.ts +39 -0
  63. package/types.d-BJcRxCew.d.ts.map +1 -0
  64. package/util.d.ts +41 -0
  65. package/util.d.ts.map +1 -0
  66. package/versions.d.ts +9 -0
  67. package/versions.d.ts.map +1 -0
  68. package/zod-extensions.d.ts +39 -0
  69. package/zod-extensions.d.ts.map +1 -0
package/openapi31.d.ts ADDED
@@ -0,0 +1,131 @@
1
+ import { ISpecificationExtension } from "./specification-extension.js";
2
+
3
+ //#region ../../node_modules/.bun/openapi3-ts@4.5.0/node_modules/openapi3-ts/dist/model/openapi31.d.ts
4
+
5
+ interface ExternalDocumentationObject extends ISpecificationExtension {
6
+ description?: string;
7
+ url: string;
8
+ }
9
+ type ParameterLocation = 'query' | 'header' | 'path' | 'cookie';
10
+ type ParameterStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';
11
+ interface BaseParameterObject extends ISpecificationExtension {
12
+ description?: string;
13
+ required?: boolean;
14
+ deprecated?: boolean;
15
+ allowEmptyValue?: boolean;
16
+ style?: ParameterStyle;
17
+ explode?: boolean;
18
+ allowReserved?: boolean;
19
+ schema?: SchemaObject | ReferenceObject;
20
+ examples?: {
21
+ [param: string]: ExampleObject | ReferenceObject;
22
+ };
23
+ example?: any;
24
+ content?: ContentObject;
25
+ }
26
+ interface ParameterObject extends BaseParameterObject {
27
+ name: string;
28
+ in: ParameterLocation;
29
+ }
30
+ interface ContentObject {
31
+ [mediatype: string]: MediaTypeObject;
32
+ }
33
+ interface MediaTypeObject extends ISpecificationExtension {
34
+ schema?: SchemaObject | ReferenceObject;
35
+ examples?: ExamplesObject;
36
+ example?: any;
37
+ encoding?: EncodingObject;
38
+ }
39
+ interface EncodingObject extends ISpecificationExtension {
40
+ [property: string]: EncodingPropertyObject | any;
41
+ }
42
+ interface EncodingPropertyObject {
43
+ contentType?: string;
44
+ headers?: {
45
+ [key: string]: HeaderObject | ReferenceObject;
46
+ };
47
+ style?: string;
48
+ explode?: boolean;
49
+ allowReserved?: boolean;
50
+ [key: string]: any;
51
+ }
52
+ interface ExampleObject {
53
+ summary?: string;
54
+ description?: string;
55
+ value?: any;
56
+ externalValue?: string;
57
+ [property: string]: any;
58
+ }
59
+ interface HeaderObject extends BaseParameterObject {
60
+ $ref?: string;
61
+ }
62
+ interface ExamplesObject {
63
+ [name: string]: ExampleObject | ReferenceObject;
64
+ }
65
+ interface ReferenceObject {
66
+ $ref: string;
67
+ summary?: string;
68
+ description?: string;
69
+ }
70
+ type SchemaObjectType = 'integer' | 'number' | 'string' | 'boolean' | 'object' | 'null' | 'array';
71
+ interface SchemaObject extends ISpecificationExtension {
72
+ $ref?: string;
73
+ discriminator?: DiscriminatorObject;
74
+ readOnly?: boolean;
75
+ writeOnly?: boolean;
76
+ xml?: XmlObject;
77
+ externalDocs?: ExternalDocumentationObject;
78
+ example?: any;
79
+ examples?: any[];
80
+ deprecated?: boolean;
81
+ type?: SchemaObjectType | SchemaObjectType[];
82
+ format?: 'int32' | 'int64' | 'float' | 'double' | 'byte' | 'binary' | 'date' | 'date-time' | 'password' | string;
83
+ allOf?: (SchemaObject | ReferenceObject)[];
84
+ oneOf?: (SchemaObject | ReferenceObject)[];
85
+ anyOf?: (SchemaObject | ReferenceObject)[];
86
+ not?: SchemaObject | ReferenceObject;
87
+ items?: SchemaObject | ReferenceObject;
88
+ properties?: {
89
+ [propertyName: string]: SchemaObject | ReferenceObject;
90
+ };
91
+ additionalProperties?: SchemaObject | ReferenceObject | boolean;
92
+ propertyNames?: SchemaObject | ReferenceObject;
93
+ description?: string;
94
+ default?: any;
95
+ title?: string;
96
+ multipleOf?: number;
97
+ maximum?: number;
98
+ const?: any;
99
+ exclusiveMaximum?: number;
100
+ minimum?: number;
101
+ exclusiveMinimum?: number;
102
+ maxLength?: number;
103
+ minLength?: number;
104
+ pattern?: string;
105
+ maxItems?: number;
106
+ minItems?: number;
107
+ uniqueItems?: boolean;
108
+ maxProperties?: number;
109
+ minProperties?: number;
110
+ required?: string[];
111
+ enum?: any[];
112
+ prefixItems?: (SchemaObject | ReferenceObject)[];
113
+ contentMediaType?: string;
114
+ contentEncoding?: string;
115
+ }
116
+ interface DiscriminatorObject {
117
+ propertyName: string;
118
+ mapping?: {
119
+ [key: string]: string;
120
+ };
121
+ }
122
+ interface XmlObject extends ISpecificationExtension {
123
+ name?: string;
124
+ namespace?: string;
125
+ prefix?: string;
126
+ attribute?: boolean;
127
+ wrapped?: boolean;
128
+ }
129
+ //#endregion
130
+ export { ParameterObject, SchemaObject };
131
+ //# sourceMappingURL=openapi31.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"openapi31.d.ts","names":["ServerObject","ISpecificationExtension","SpecificationExtension","OpenAPIObject","InfoObject","PathsObject","ComponentsObject","SecurityRequirementObject","TagObject","ExternalDocumentationObject","ContactObject","LicenseObject","SchemaObject","ReferenceObject","ResponseObject","ParameterObject","ExampleObject","RequestBodyObject","HeaderObject","SecuritySchemeObject","LinkObject","CallbackObject","PathItemObject","PathObject","getPath","OperationObject","ResponsesObject","CallbacksObject","ParameterLocation","ParameterStyle","BaseParameterObject","ContentObject","MediaTypeObject","ExamplesObject","EncodingObject","EncodingPropertyObject","HeadersObject","LinksObject","LinkParametersObject","isReferenceObject","SchemaObjectType","DiscriminatorObject","XmlObject","isSchemaObject","SchemasObject","SecuritySchemeType","OAuthFlowsObject","OAuthFlowObject","ScopesObject"],"sources":["../../../node_modules/.bun/openapi3-ts@4.5.0/node_modules/openapi3-ts/dist/model/openapi31.d.ts"],"sourcesContent":["import { ServerObject } from './oas-common';\nimport { ISpecificationExtension } from './specification-extension';\nexport * from './oas-common';\nexport type { ISpecificationExtension, SpecificationExtension } from './specification-extension';\nexport interface OpenAPIObject extends ISpecificationExtension {\n openapi: string;\n info: InfoObject;\n servers?: ServerObject[];\n paths?: PathsObject;\n components?: ComponentsObject;\n security?: SecurityRequirementObject[];\n tags?: TagObject[];\n externalDocs?: ExternalDocumentationObject;\n webhooks?: PathsObject;\n}\nexport interface InfoObject extends ISpecificationExtension {\n title: string;\n description?: string;\n termsOfService?: string;\n contact?: ContactObject;\n license?: LicenseObject;\n version: string;\n}\nexport interface ContactObject extends ISpecificationExtension {\n name?: string;\n url?: string;\n email?: string;\n}\nexport interface LicenseObject extends ISpecificationExtension {\n name: string;\n identifier?: string;\n url?: string;\n}\nexport interface ComponentsObject extends ISpecificationExtension {\n schemas?: {\n [schema: string]: SchemaObject | ReferenceObject;\n };\n responses?: {\n [response: string]: ResponseObject | ReferenceObject;\n };\n parameters?: {\n [parameter: string]: ParameterObject | ReferenceObject;\n };\n examples?: {\n [example: string]: ExampleObject | ReferenceObject;\n };\n requestBodies?: {\n [request: string]: RequestBodyObject | ReferenceObject;\n };\n headers?: {\n [header: string]: HeaderObject | ReferenceObject;\n };\n securitySchemes?: {\n [securityScheme: string]: SecuritySchemeObject | ReferenceObject;\n };\n links?: {\n [link: string]: LinkObject | ReferenceObject;\n };\n callbacks?: {\n [callback: string]: CallbackObject | ReferenceObject;\n };\n pathItems?: {\n [pathItem: string]: PathItemObject | ReferenceObject;\n };\n}\nexport interface PathsObject extends ISpecificationExtension {\n [path: string]: PathItemObject;\n}\nexport type PathObject = PathsObject;\nexport declare function getPath(pathsObject: PathsObject | undefined, path: string): PathItemObject | undefined;\nexport interface PathItemObject extends ISpecificationExtension {\n $ref?: string;\n summary?: string;\n description?: string;\n get?: OperationObject;\n put?: OperationObject;\n post?: OperationObject;\n delete?: OperationObject;\n options?: OperationObject;\n head?: OperationObject;\n patch?: OperationObject;\n trace?: OperationObject;\n servers?: ServerObject[];\n parameters?: (ParameterObject | ReferenceObject)[];\n}\nexport interface OperationObject extends ISpecificationExtension {\n tags?: string[];\n summary?: string;\n description?: string;\n externalDocs?: ExternalDocumentationObject;\n operationId?: string;\n parameters?: (ParameterObject | ReferenceObject)[];\n requestBody?: RequestBodyObject | ReferenceObject;\n responses?: ResponsesObject;\n callbacks?: CallbacksObject;\n deprecated?: boolean;\n security?: SecurityRequirementObject[];\n servers?: ServerObject[];\n}\nexport interface ExternalDocumentationObject extends ISpecificationExtension {\n description?: string;\n url: string;\n}\nexport type ParameterLocation = 'query' | 'header' | 'path' | 'cookie';\nexport type ParameterStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';\nexport interface BaseParameterObject extends ISpecificationExtension {\n description?: string;\n required?: boolean;\n deprecated?: boolean;\n allowEmptyValue?: boolean;\n style?: ParameterStyle;\n explode?: boolean;\n allowReserved?: boolean;\n schema?: SchemaObject | ReferenceObject;\n examples?: {\n [param: string]: ExampleObject | ReferenceObject;\n };\n example?: any;\n content?: ContentObject;\n}\nexport interface ParameterObject extends BaseParameterObject {\n name: string;\n in: ParameterLocation;\n}\nexport interface RequestBodyObject extends ISpecificationExtension {\n description?: string;\n content: ContentObject;\n required?: boolean;\n}\nexport interface ContentObject {\n [mediatype: string]: MediaTypeObject;\n}\nexport interface MediaTypeObject extends ISpecificationExtension {\n schema?: SchemaObject | ReferenceObject;\n examples?: ExamplesObject;\n example?: any;\n encoding?: EncodingObject;\n}\nexport interface EncodingObject extends ISpecificationExtension {\n [property: string]: EncodingPropertyObject | any;\n}\nexport interface EncodingPropertyObject {\n contentType?: string;\n headers?: {\n [key: string]: HeaderObject | ReferenceObject;\n };\n style?: string;\n explode?: boolean;\n allowReserved?: boolean;\n [key: string]: any;\n}\nexport interface ResponsesObject extends ISpecificationExtension {\n default?: ResponseObject | ReferenceObject;\n [statuscode: string]: ResponseObject | ReferenceObject | any;\n}\nexport interface ResponseObject extends ISpecificationExtension {\n description: string;\n headers?: HeadersObject;\n content?: ContentObject;\n links?: LinksObject;\n}\nexport interface CallbacksObject extends ISpecificationExtension {\n [name: string]: CallbackObject | ReferenceObject | any;\n}\nexport interface CallbackObject extends ISpecificationExtension {\n [name: string]: PathItemObject | any;\n}\nexport interface HeadersObject {\n [name: string]: HeaderObject | ReferenceObject;\n}\nexport interface ExampleObject {\n summary?: string;\n description?: string;\n value?: any;\n externalValue?: string;\n [property: string]: any;\n}\nexport interface LinksObject {\n [name: string]: LinkObject | ReferenceObject;\n}\nexport interface LinkObject extends ISpecificationExtension {\n operationRef?: string;\n operationId?: string;\n parameters?: LinkParametersObject;\n requestBody?: any | string;\n description?: string;\n server?: ServerObject;\n [property: string]: any;\n}\nexport interface LinkParametersObject {\n [name: string]: any | string;\n}\nexport interface HeaderObject extends BaseParameterObject {\n $ref?: string;\n}\nexport interface TagObject extends ISpecificationExtension {\n name: string;\n description?: string;\n externalDocs?: ExternalDocumentationObject;\n [extension: string]: any;\n}\nexport interface ExamplesObject {\n [name: string]: ExampleObject | ReferenceObject;\n}\nexport interface ReferenceObject {\n $ref: string;\n summary?: string;\n description?: string;\n}\nexport declare function isReferenceObject(obj: any): obj is ReferenceObject;\nexport type SchemaObjectType = 'integer' | 'number' | 'string' | 'boolean' | 'object' | 'null' | 'array';\nexport interface SchemaObject extends ISpecificationExtension {\n $ref?: string;\n discriminator?: DiscriminatorObject;\n readOnly?: boolean;\n writeOnly?: boolean;\n xml?: XmlObject;\n externalDocs?: ExternalDocumentationObject;\n example?: any;\n examples?: any[];\n deprecated?: boolean;\n type?: SchemaObjectType | SchemaObjectType[];\n format?: 'int32' | 'int64' | 'float' | 'double' | 'byte' | 'binary' | 'date' | 'date-time' | 'password' | string;\n allOf?: (SchemaObject | ReferenceObject)[];\n oneOf?: (SchemaObject | ReferenceObject)[];\n anyOf?: (SchemaObject | ReferenceObject)[];\n not?: SchemaObject | ReferenceObject;\n items?: SchemaObject | ReferenceObject;\n properties?: {\n [propertyName: string]: SchemaObject | ReferenceObject;\n };\n additionalProperties?: SchemaObject | ReferenceObject | boolean;\n propertyNames?: SchemaObject | ReferenceObject;\n description?: string;\n default?: any;\n title?: string;\n multipleOf?: number;\n maximum?: number;\n const?: any;\n exclusiveMaximum?: number;\n minimum?: number;\n exclusiveMinimum?: number;\n maxLength?: number;\n minLength?: number;\n pattern?: string;\n maxItems?: number;\n minItems?: number;\n uniqueItems?: boolean;\n maxProperties?: number;\n minProperties?: number;\n required?: string[];\n enum?: any[];\n prefixItems?: (SchemaObject | ReferenceObject)[];\n contentMediaType?: string;\n contentEncoding?: string;\n}\nexport declare function isSchemaObject(schema: SchemaObject | ReferenceObject): schema is SchemaObject;\nexport interface SchemasObject {\n [schema: string]: SchemaObject;\n}\nexport interface DiscriminatorObject {\n propertyName: string;\n mapping?: {\n [key: string]: string;\n };\n}\nexport interface XmlObject extends ISpecificationExtension {\n name?: string;\n namespace?: string;\n prefix?: string;\n attribute?: boolean;\n wrapped?: boolean;\n}\nexport type SecuritySchemeType = 'apiKey' | 'http' | 'oauth2' | 'openIdConnect';\nexport interface SecuritySchemeObject extends ISpecificationExtension {\n type: SecuritySchemeType;\n description?: string;\n name?: string;\n in?: string;\n scheme?: string;\n bearerFormat?: string;\n flows?: OAuthFlowsObject;\n openIdConnectUrl?: string;\n}\nexport interface OAuthFlowsObject extends ISpecificationExtension {\n implicit?: OAuthFlowObject;\n password?: OAuthFlowObject;\n clientCredentials?: OAuthFlowObject;\n authorizationCode?: OAuthFlowObject;\n}\nexport interface OAuthFlowObject extends ISpecificationExtension {\n authorizationUrl?: string;\n tokenUrl?: string;\n refreshUrl?: string;\n scopes: ScopesObject;\n}\nexport interface ScopesObject extends ISpecificationExtension {\n [scope: string]: any;\n}\nexport interface SecurityRequirementObject {\n [name: string]: string[];\n}\n"],"x_google_ignoreList":[0],"mappings":";;;;UAmGiBS,2BAAAA,SAAoCR;;;;KAIzC2B,iBAAAA;KACAC,cAAAA;UACKC,mBAAAA,SAA4B7B;;;;;UAKjC4B;;;WAGCjB,eAAeC;;qBAEHG,gBAAgBH;;;YAG3BkB;;UAEGhB,eAAAA,SAAwBe;;MAEjCF;;UAOSG,aAAAA;uBACQC;;UAERA,eAAAA,SAAwB/B;WAC5BW,eAAeC;aACboB;;aAEAC;;UAEEA,cAAAA,SAAuBjC;sBAChBkC;;UAEPA,sBAAAA;;;mBAGMjB,eAAeL;;;;;;;UA0BrBG,aAAAA;;;;;;;UAsBAE,YAAAA,SAAqBY;;;UASrBG,cAAAA;kBACGjB,gBAAgBH;;UAEnBA,eAAAA;;;;;KAML2B,gBAAAA;UACK5B,YAAAA,SAAqBX;;kBAElBwC;;;QAGVC;iBACSjC;;;;SAIR+B,mBAAmBA;;WAEjB5B,eAAeC;WACfD,eAAeC;WACfD,eAAeC;QAClBD,eAAeC;UACbD,eAAeC;;4BAEKD,eAAeC;;yBAEpBD,eAAeC;kBACtBD,eAAeC;;;;;;;;;;;;;;;;;;;;iBAoBhBD,eAAeC;;;;UAQjB4B,mBAAAA;;;;;;UAMAC,SAAAA,SAAkBzC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cossistant/react",
3
3
  "type": "module",
4
- "version": "0.0.7",
4
+ "version": "0.0.9",
5
5
  "private": false,
6
6
  "author": "Cossistant team",
7
7
  "description": "Headless React SDK for building AI-powered support/chat widgets. Hooks + primitives, WS-driven, TypeScript-first. Next.js-ready, Tailwind optional.",
@@ -55,7 +55,7 @@
55
55
  "import": "./hooks/*.js"
56
56
  },
57
57
  "./support.css": "./support.css",
58
- "./tailwind.css": "./support.css",
58
+ "./tailwind.css": "./tailwind.css",
59
59
  "./realtime": {
60
60
  "types": "./realtime/index.d.ts",
61
61
  "import": "./realtime/index.js"
@@ -67,6 +67,18 @@
67
67
  "./utils/*": {
68
68
  "types": "./utils/*.d.ts",
69
69
  "import": "./utils/*.js"
70
+ },
71
+ "./identify-visitor": {
72
+ "types": "./identify-visitor.d.ts",
73
+ "import": "./identify-visitor.js"
74
+ },
75
+ "./provider": {
76
+ "types": "./provider.d.ts",
77
+ "import": "./provider.js"
78
+ },
79
+ "./support-config": {
80
+ "types": "./support-config.d.ts",
81
+ "import": "./support-config.js"
70
82
  }
71
83
  },
72
84
  "main": "./index.js",
@@ -76,8 +88,8 @@
76
88
  "*.css"
77
89
  ],
78
90
  "dependencies": {
79
- "@cossistant/core": "0.0.7",
80
- "@cossistant/types": "0.0.7",
91
+ "@cossistant/core": "0.0.9",
92
+ "@cossistant/types": "0.0.9",
81
93
  "class-variance-authority": "^0.7.1",
82
94
  "clsx": "^2.1.1",
83
95
  "nanoid": "^5.1.5",
package/parse.d.ts ADDED
@@ -0,0 +1,17 @@
1
+ import { ZodError } from "./errors2.js";
2
+
3
+ //#region ../../node_modules/.bun/zod@4.1.12/node_modules/zod/v4/classic/parse.d.cts
4
+ type ZodSafeParseResult<T> = ZodSafeParseSuccess<T> | ZodSafeParseError<T>;
5
+ type ZodSafeParseSuccess<T> = {
6
+ success: true;
7
+ data: T;
8
+ error?: never;
9
+ };
10
+ type ZodSafeParseError<T> = {
11
+ success: false;
12
+ data?: never;
13
+ error: ZodError<T>;
14
+ };
15
+ //#endregion
16
+ export { ZodSafeParseResult };
17
+ //# sourceMappingURL=parse.d.ts.map
package/parse.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parse.d.ts","names":["core","ZodError","ZodSafeParseResult","T","ZodSafeParseSuccess","ZodSafeParseError","parse","$ZodType","$ZodIssue","ParseContext","util","AnyFunc","$ZodErrorClass","output","parseAsync","Promise","safeParse","safeParseAsync","encode","input","decode","encodeAsync","decodeAsync","safeEncode","safeDecode","safeEncodeAsync","safeDecodeAsync"],"sources":["../../../node_modules/.bun/zod@4.1.12/node_modules/zod/v4/classic/parse.d.cts"],"sourcesContent":["import * as core from \"../core/index.cjs\";\nimport { type ZodError } from \"./errors.cjs\";\nexport type ZodSafeParseResult<T> = ZodSafeParseSuccess<T> | ZodSafeParseError<T>;\nexport type ZodSafeParseSuccess<T> = {\n success: true;\n data: T;\n error?: never;\n};\nexport type ZodSafeParseError<T> = {\n success: false;\n data?: never;\n error: ZodError<T>;\n};\nexport declare const parse: <T extends core.$ZodType>(schema: T, value: unknown, _ctx?: core.ParseContext<core.$ZodIssue>, _params?: {\n callee?: core.util.AnyFunc;\n Err?: core.$ZodErrorClass;\n}) => core.output<T>;\nexport declare const parseAsync: <T extends core.$ZodType>(schema: T, value: unknown, _ctx?: core.ParseContext<core.$ZodIssue>, _params?: {\n callee?: core.util.AnyFunc;\n Err?: core.$ZodErrorClass;\n}) => Promise<core.output<T>>;\nexport declare const safeParse: <T extends core.$ZodType>(schema: T, value: unknown, _ctx?: core.ParseContext<core.$ZodIssue>) => ZodSafeParseResult<core.output<T>>;\nexport declare const safeParseAsync: <T extends core.$ZodType>(schema: T, value: unknown, _ctx?: core.ParseContext<core.$ZodIssue>) => Promise<ZodSafeParseResult<core.output<T>>>;\nexport declare const encode: <T extends core.$ZodType>(schema: T, value: core.output<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => core.input<T>;\nexport declare const decode: <T extends core.$ZodType>(schema: T, value: core.input<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => core.output<T>;\nexport declare const encodeAsync: <T extends core.$ZodType>(schema: T, value: core.output<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => Promise<core.input<T>>;\nexport declare const decodeAsync: <T extends core.$ZodType>(schema: T, value: core.input<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => Promise<core.output<T>>;\nexport declare const safeEncode: <T extends core.$ZodType>(schema: T, value: core.output<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => ZodSafeParseResult<core.input<T>>;\nexport declare const safeDecode: <T extends core.$ZodType>(schema: T, value: core.input<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => ZodSafeParseResult<core.output<T>>;\nexport declare const safeEncodeAsync: <T extends core.$ZodType>(schema: T, value: core.output<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => Promise<ZodSafeParseResult<core.input<T>>>;\nexport declare const safeDecodeAsync: <T extends core.$ZodType>(schema: T, value: core.input<T>, _ctx?: core.ParseContext<core.$ZodIssue>) => Promise<ZodSafeParseResult<core.output<T>>>;\n"],"x_google_ignoreList":[0],"mappings":";;;KAEYE,wBAAwBE,oBAAoBD,KAAKE,kBAAkBF;AAAnED,KACAE,mBADkB,CAAA,CAAAD,CAAAA,GAAAA;EAA0BA,OAAAA,EAAAA,IAAAA;EAApBC,IAAAA,EAG1BD,CAH0BC;EAA2CD,KAAAA,CAAAA,EAAAA,KAAAA;CAAlBE;AAAiB,KAMlEA,iBANkE,CAAA,CAAA,CAAA,GAAA;EAClED,OAAAA,EAAAA,KAAAA;EAKAC,IAAAA,CAAAA,EAAAA,KAAAA;SAGDJ,SAASE"}
@@ -15,7 +15,7 @@ type AvatarImageProps = Omit<React$1.ImgHTMLAttributes<HTMLImageElement>, "src"
15
15
  * Controlled `<img>` that syncs its loading status back to the avatar context
16
16
  * so fallbacks know when to display.
17
17
  */
18
- declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<React$1.ImgHTMLAttributes<HTMLImageElement>, "alt" | "src"> & {
18
+ declare const AvatarImage: React$1.ForwardRefExoticComponent<Omit<React$1.ImgHTMLAttributes<HTMLImageElement>, "src" | "alt"> & {
19
19
  src: string;
20
20
  alt?: string;
21
21
  asChild?: boolean;
package/react.d.ts ADDED
@@ -0,0 +1,4 @@
1
+ import { BezierDefinition, Easing, EasingDefinition, EasingFunction } from "./index4.js";
2
+ import { AnimationGeneratorName, AnimationGeneratorType, AnimationOrchestrationOptions, AnimationPlaybackControls, AnimationPlaybackControlsWithThen, AnimationPlaybackLifecycles, AnimationPlaybackOptions, AnimationState, AnyResolvedKeyframe, Batcher, CSSStyleDeclarationWithTransform, DOMKeyframesDefinition, DecayOptions, DurationSpringOptions, DynamicOption, FrameData, GeneratorFactory, GeneratorFactoryFunction, InertiaOptions, KeyframeGenerator, KeyframeOptions, MotionValue, MotionValueEventCallbacks, MotionValueOptions, Owner, PassiveEffect, Process, ProgressTimeline, RepeatType, SVGAttributes, SVGForcedAttrKeyframesDefinition, SVGForcedAttrProperties, SVGForcedAttrTransitions, SVGKeyframesDefinition, SVGPathKeyframesDefinition, SVGPathProperties, SVGPathTransitions, SVGTransitions, Schedule, SpringOptions, StartAnimation, StepId, StyleKeyframesDefinition, StyleTransitions, Subscriber, Target, TargetAndTransition, TargetResolver, TimelineWithFallback, TransformProperties, Transition, TransitionWithValueOverrides, UnresolvedValueKeyframe, ValueAnimationOptions, ValueAnimationTransition, ValueKeyframe, ValueKeyframesDefinition, ValueTransition, VariableKeyframesDefinition, VariableTransitions, Variant, Variants, VelocityOptions } from "./index5.js";
3
+ import { optimizedAppearDataAttribute } from "./types.d-BJcRxCew.js";
4
+ import "./index6.js";
@@ -1,4 +1,4 @@
1
- import { ConversationSeen } from "../schemas.js";
1
+ import { ConversationSeen } from "../schemas3.js";
2
2
  import { RealtimeEvent } from "../realtime-events.js";
3
3
  import { SeenActorType, SeenState } from "@cossistant/core";
4
4