import * as z from "zod"; import { Result as SafeParseResult } from "../types/fp.js"; import { Collection, Collection$Outbound } from "./collection.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; export type Collections = { /** * Number of ownerships were found by request * * @deprecated field: This will be removed in a future release, please migrate away from it as soon as possible. */ total?: number | undefined; /** * Continuation token to paginate collections search result */ continuation?: string | undefined; collections: Array; }; /** @internal */ export declare const Collections$inboundSchema: z.ZodType; /** @internal */ export type Collections$Outbound = { total?: number | undefined; continuation?: string | undefined; collections: Array; }; /** @internal */ export declare const Collections$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Collections$ { /** @deprecated use `Collections$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Collections$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Collections$Outbound` instead. */ type Outbound = Collections$Outbound; } export declare function collectionsToJSON(collections: Collections): string; export declare function collectionsFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=collections.d.ts.map