import * as z from 'zod/mini'; export declare const SchemaPayloadZod: z.ZodMiniObject<{ schema: z.ZodMiniLiteral<"network.xyo.schema" & { readonly __schema: true; }>; definition: z.ZodMiniObject<{ $id: z.ZodMiniOptional>; }, z.core.$loose>; extends: z.ZodMiniOptional>; name: z.ZodMiniOptional>; version: z.ZodMiniOptional>; }, z.core.$strip>; export type SchemaPayload = z.infer; /** * Identity function for determining if an object is a Schema */ export declare const isSchemaPayload: (value: T) => value is T & { schema: "network.xyo.schema" & { readonly __schema: true; }; definition: { [x: string]: unknown; $id?: string | undefined; }; extends?: string | undefined; name?: string | undefined; version?: number | undefined; }; export declare const asSchemaPayload: { (value: T): (T & { schema: "network.xyo.schema" & { readonly __schema: true; }; definition: { [x: string]: unknown; $id?: string | undefined; }; extends?: string | undefined; name?: string | undefined; version?: number | undefined; }) | undefined; (value: T, assert: import("@xylabs/sdk-js").ZodFactoryConfig): T & { schema: "network.xyo.schema" & { readonly __schema: true; }; definition: { [x: string]: unknown; $id?: string | undefined; }; extends?: string | undefined; name?: string | undefined; version?: number | undefined; }; }; export declare const toSchemaPayload: { (value: T): (T & { schema: "network.xyo.schema" & { readonly __schema: true; }; definition: { [x: string]: unknown; $id?: string | undefined; }; extends?: string | undefined; name?: string | undefined; version?: number | undefined; }) | undefined; (value: T, assert: import("@xylabs/sdk-js").ZodFactoryConfig): T & { schema: "network.xyo.schema" & { readonly __schema: true; }; definition: { [x: string]: unknown; $id?: string | undefined; }; extends?: string | undefined; name?: string | undefined; version?: number | undefined; }; }; /** * Identity function for determining if an object is a Schema with sources */ export declare const isSchemaPayloadWithSources: (x?: unknown) => x is import("@xyo-network/payload-model").WithSources<{ schema: "network.xyo.schema" & { readonly __schema: true; }; definition: { [x: string]: unknown; $id?: string | undefined; }; extends?: string | undefined; name?: string | undefined; version?: number | undefined; }>; //# sourceMappingURL=Payload.d.ts.map