import { z } from 'zod'; import { CredentialType } from '@bubblelab/shared-schemas'; export declare const SlabUserSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; id: string; }, { name: string; id: string; }>; export declare const SlabTopicSchema: z.ZodObject<{ id: z.ZodString; name: z.ZodString; }, "strip", z.ZodTypeAny, { name: string; id: string; }, { name: string; id: string; }>; export declare const SlabPostSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; content: z.ZodNullable>; insertedAt: z.ZodNullable>; publishedAt: z.ZodNullable>; updatedAt: z.ZodNullable>; archivedAt: z.ZodNullable>; owner: z.ZodNullable>>; version: z.ZodNullable>; topics: z.ZodNullable, "many">>>; }, "strip", z.ZodTypeAny, { title: string; id: string; content?: unknown; version?: number | null | undefined; owner?: { name: string; id: string; } | null | undefined; publishedAt?: string | null | undefined; updatedAt?: string | null | undefined; insertedAt?: string | null | undefined; archivedAt?: string | null | undefined; topics?: { name: string; id: string; }[] | null | undefined; }, { title: string; id: string; content?: unknown; version?: number | null | undefined; owner?: { name: string; id: string; } | null | undefined; publishedAt?: string | null | undefined; updatedAt?: string | null | undefined; insertedAt?: string | null | undefined; archivedAt?: string | null | undefined; topics?: { name: string; id: string; }[] | null | undefined; }>; export declare const SlabSearchResultSchema: z.ZodObject<{ id: z.ZodString; title: z.ZodString; highlight: z.ZodNullable>; content: z.ZodNullable>; insertedAt: z.ZodNullable>; publishedAt: z.ZodNullable>; owner: z.ZodNullable>>; topics: z.ZodNullable, "many">>>; }, "strip", z.ZodTypeAny, { title: string; id: string; content?: unknown; owner?: { name: string; id: string; } | null | undefined; publishedAt?: string | null | undefined; insertedAt?: string | null | undefined; topics?: { name: string; id: string; }[] | null | undefined; highlight?: unknown; }, { title: string; id: string; content?: unknown; owner?: { name: string; id: string; } | null | undefined; publishedAt?: string | null | undefined; insertedAt?: string | null | undefined; topics?: { name: string; id: string; }[] | null | undefined; highlight?: unknown; }>; export declare const SlabParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"search_posts">; query: z.ZodString; first: z.ZodDefault>; after: z.ZodOptional; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { query: string; operation: "search_posts"; first: number; credentials?: Partial> | undefined; after?: string | undefined; }, { query: string; operation: "search_posts"; credentials?: Partial> | undefined; after?: string | undefined; first?: number | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_post">; post_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_post"; post_id: string; credentials?: Partial> | undefined; }, { operation: "get_post"; post_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_posts">; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_posts"; credentials?: Partial> | undefined; }, { operation: "list_posts"; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_topic_posts">; topic_id: z.ZodString; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "get_topic_posts"; topic_id: string; credentials?: Partial> | undefined; }, { operation: "get_topic_posts"; topic_id: string; credentials?: Partial> | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_topics">; credentials: z.ZodOptional, z.ZodString>>; }, "strip", z.ZodTypeAny, { operation: "list_topics"; credentials?: Partial> | undefined; }, { operation: "list_topics"; credentials?: Partial> | undefined; }>]>; export declare const SlabResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{ operation: z.ZodLiteral<"search_posts">; success: z.ZodBoolean; posts: z.ZodOptional>; content: z.ZodNullable>; insertedAt: z.ZodNullable>; publishedAt: z.ZodNullable>; owner: z.ZodNullable>>; topics: z.ZodNullable, "many">>>; }, "strip", z.ZodTypeAny, { title: string; id: string; content?: unknown; owner?: { name: string; id: string; } | null | undefined; publishedAt?: string | null | undefined; insertedAt?: string | null | undefined; topics?: { name: string; id: string; }[] | null | undefined; highlight?: unknown; }, { title: string; id: string; content?: unknown; owner?: { name: string; id: string; } | null | undefined; publishedAt?: string | null | undefined; insertedAt?: string | null | undefined; topics?: { name: string; id: string; }[] | null | undefined; highlight?: unknown; }>, "many">>; has_more: z.ZodOptional; end_cursor: z.ZodNullable>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "search_posts"; has_more?: boolean | undefined; posts?: { title: string; id: string; content?: unknown; owner?: { name: string; id: string; } | null | undefined; publishedAt?: string | null | undefined; insertedAt?: string | null | undefined; topics?: { name: string; id: string; }[] | null | undefined; highlight?: unknown; }[] | undefined; end_cursor?: string | null | undefined; }, { error: string; success: boolean; operation: "search_posts"; has_more?: boolean | undefined; posts?: { title: string; id: string; content?: unknown; owner?: { name: string; id: string; } | null | undefined; publishedAt?: string | null | undefined; insertedAt?: string | null | undefined; topics?: { name: string; id: string; }[] | null | undefined; highlight?: unknown; }[] | undefined; end_cursor?: string | null | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_post">; success: z.ZodBoolean; post: z.ZodOptional>; insertedAt: z.ZodNullable>; publishedAt: z.ZodNullable>; updatedAt: z.ZodNullable>; archivedAt: z.ZodNullable>; owner: z.ZodNullable>>; version: z.ZodNullable>; topics: z.ZodNullable, "many">>>; }, "strip", z.ZodTypeAny, { title: string; id: string; content?: unknown; version?: number | null | undefined; owner?: { name: string; id: string; } | null | undefined; publishedAt?: string | null | undefined; updatedAt?: string | null | undefined; insertedAt?: string | null | undefined; archivedAt?: string | null | undefined; topics?: { name: string; id: string; }[] | null | undefined; }, { title: string; id: string; content?: unknown; version?: number | null | undefined; owner?: { name: string; id: string; } | null | undefined; publishedAt?: string | null | undefined; updatedAt?: string | null | undefined; insertedAt?: string | null | undefined; archivedAt?: string | null | undefined; topics?: { name: string; id: string; }[] | null | undefined; }>>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_post"; post?: { title: string; id: string; content?: unknown; version?: number | null | undefined; owner?: { name: string; id: string; } | null | undefined; publishedAt?: string | null | undefined; updatedAt?: string | null | undefined; insertedAt?: string | null | undefined; archivedAt?: string | null | undefined; topics?: { name: string; id: string; }[] | null | undefined; } | undefined; }, { error: string; success: boolean; operation: "get_post"; post?: { title: string; id: string; content?: unknown; version?: number | null | undefined; owner?: { name: string; id: string; } | null | undefined; publishedAt?: string | null | undefined; updatedAt?: string | null | undefined; insertedAt?: string | null | undefined; archivedAt?: string | null | undefined; topics?: { name: string; id: string; }[] | null | undefined; } | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_posts">; success: z.ZodBoolean; posts: z.ZodOptional>; insertedAt: z.ZodNullable>; publishedAt: z.ZodNullable>; updatedAt: z.ZodNullable>; archivedAt: z.ZodNullable>; owner: z.ZodNullable>>; version: z.ZodNullable>; topics: z.ZodNullable, "many">>>; }, "strip", z.ZodTypeAny, { title: string; id: string; content?: unknown; version?: number | null | undefined; owner?: { name: string; id: string; } | null | undefined; publishedAt?: string | null | undefined; updatedAt?: string | null | undefined; insertedAt?: string | null | undefined; archivedAt?: string | null | undefined; topics?: { name: string; id: string; }[] | null | undefined; }, { title: string; id: string; content?: unknown; version?: number | null | undefined; owner?: { name: string; id: string; } | null | undefined; publishedAt?: string | null | undefined; updatedAt?: string | null | undefined; insertedAt?: string | null | undefined; archivedAt?: string | null | undefined; topics?: { name: string; id: string; }[] | null | undefined; }>, "many">>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_posts"; posts?: { title: string; id: string; content?: unknown; version?: number | null | undefined; owner?: { name: string; id: string; } | null | undefined; publishedAt?: string | null | undefined; updatedAt?: string | null | undefined; insertedAt?: string | null | undefined; archivedAt?: string | null | undefined; topics?: { name: string; id: string; }[] | null | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "list_posts"; posts?: { title: string; id: string; content?: unknown; version?: number | null | undefined; owner?: { name: string; id: string; } | null | undefined; publishedAt?: string | null | undefined; updatedAt?: string | null | undefined; insertedAt?: string | null | undefined; archivedAt?: string | null | undefined; topics?: { name: string; id: string; }[] | null | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"get_topic_posts">; success: z.ZodBoolean; posts: z.ZodOptional>; insertedAt: z.ZodNullable>; publishedAt: z.ZodNullable>; updatedAt: z.ZodNullable>; archivedAt: z.ZodNullable>; owner: z.ZodNullable>>; version: z.ZodNullable>; topics: z.ZodNullable, "many">>>; }, "strip", z.ZodTypeAny, { title: string; id: string; content?: unknown; version?: number | null | undefined; owner?: { name: string; id: string; } | null | undefined; publishedAt?: string | null | undefined; updatedAt?: string | null | undefined; insertedAt?: string | null | undefined; archivedAt?: string | null | undefined; topics?: { name: string; id: string; }[] | null | undefined; }, { title: string; id: string; content?: unknown; version?: number | null | undefined; owner?: { name: string; id: string; } | null | undefined; publishedAt?: string | null | undefined; updatedAt?: string | null | undefined; insertedAt?: string | null | undefined; archivedAt?: string | null | undefined; topics?: { name: string; id: string; }[] | null | undefined; }>, "many">>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "get_topic_posts"; posts?: { title: string; id: string; content?: unknown; version?: number | null | undefined; owner?: { name: string; id: string; } | null | undefined; publishedAt?: string | null | undefined; updatedAt?: string | null | undefined; insertedAt?: string | null | undefined; archivedAt?: string | null | undefined; topics?: { name: string; id: string; }[] | null | undefined; }[] | undefined; }, { error: string; success: boolean; operation: "get_topic_posts"; posts?: { title: string; id: string; content?: unknown; version?: number | null | undefined; owner?: { name: string; id: string; } | null | undefined; publishedAt?: string | null | undefined; updatedAt?: string | null | undefined; insertedAt?: string | null | undefined; archivedAt?: string | null | undefined; topics?: { name: string; id: string; }[] | null | undefined; }[] | undefined; }>, z.ZodObject<{ operation: z.ZodLiteral<"list_topics">; success: z.ZodBoolean; topics: z.ZodOptional, "many">>; error: z.ZodString; }, "strip", z.ZodTypeAny, { error: string; success: boolean; operation: "list_topics"; topics?: { name: string; id: string; }[] | undefined; }, { error: string; success: boolean; operation: "list_topics"; topics?: { name: string; id: string; }[] | undefined; }>]>; export type SlabParamsInput = z.input; export type SlabParams = z.output; export type SlabResult = z.output; export type SlabUser = z.output; export type SlabTopic = z.output; export type SlabPost = z.output; export type SlabSearchResult = z.output; export type SlabSearchPostsParams = Extract; export type SlabGetPostParams = Extract; export type SlabListPostsParams = Extract; export type SlabGetTopicPostsParams = Extract; export type SlabListTopicsParams = Extract; //# sourceMappingURL=slab.schema.d.ts.map