import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type CreatecollectionRequest = { /** * The client's preferred locale in rfc5646 format (e.g. `en`, `ja`, `pt-BR`). If omitted, the `Accept-Language` will be used. If not present or not supported, defaults to the closest match or `en`. */ locale?: string | undefined; /** * Collection content plus any additional metadata for the request. */ createCollectionRequest: components.CreateCollectionRequest; }; export type ResponseBody2 = { collection?: components.Collection | undefined; error: components.CollectionError; }; export type ResponseBody1 = { collection: components.Collection; error?: components.CollectionError | undefined; }; /** * OK */ export type CreatecollectionResponse = ResponseBody1 | ResponseBody2; /** @internal */ export type CreatecollectionRequest$Outbound = { locale?: string | undefined; CreateCollectionRequest: components.CreateCollectionRequest$Outbound; }; /** @internal */ export declare const CreatecollectionRequest$outboundSchema: z.ZodType; export declare function createcollectionRequestToJSON(createcollectionRequest: CreatecollectionRequest): string; /** @internal */ export declare const ResponseBody2$inboundSchema: z.ZodType; export declare function responseBody2FromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ResponseBody1$inboundSchema: z.ZodType; export declare function responseBody1FromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreatecollectionResponse$inboundSchema: z.ZodType; export declare function createcollectionResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createcollection.d.ts.map