import { z } from 'zod'; export type DocMode = 'edgeless' | 'page'; export declare const DocModes: readonly ["edgeless", "page"]; export type FootNoteReferenceType = 'doc' | 'attachment' | 'url'; export declare const FootNoteReferenceTypes: readonly ["doc", "attachment", "url"]; /** * Custom title and description information. * * Supports the following blocks: * * 1. Inline View: `AffineReference` - title * 2. Card View: `EmbedLinkedDocBlock` - title & description * 3. Embed View: `EmbedSyncedDocBlock` - title */ export declare const AliasInfoSchema: z.ZodObject<{ title: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { title?: string | undefined; description?: string | undefined; }, { title?: string | undefined; description?: string | undefined; }>; export type AliasInfo = z.infer; export declare const SerializedXYWHSchema: z.ZodType<`[${number},${number},${number},${number}]`, z.ZodTypeDef, `[${number},${number},${number},${number}]`>; export declare const ReferenceParamsSchema: z.ZodObject<{ mode: z.ZodOptional>; blockIds: z.ZodOptional>; elementIds: z.ZodOptional>; databaseId: z.ZodOptional>; databaseRowId: z.ZodOptional>; xywh: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { mode?: "edgeless" | "page" | undefined; blockIds?: string[] | undefined; elementIds?: string[] | undefined; databaseId?: string | undefined; databaseRowId?: string | undefined; xywh?: `[${number},${number},${number},${number}]` | undefined; }, { mode?: "edgeless" | "page" | undefined; blockIds?: string[] | undefined; elementIds?: string[] | undefined; databaseId?: string | undefined; databaseRowId?: string | undefined; xywh?: `[${number},${number},${number},${number}]` | undefined; }>; export type ReferenceParams = z.infer; export declare const ReferenceInfoSchema: z.ZodObject<{ pageId: z.ZodString; params: z.ZodOptional>; blockIds: z.ZodOptional>; elementIds: z.ZodOptional>; databaseId: z.ZodOptional>; databaseRowId: z.ZodOptional>; xywh: z.ZodOptional>>; }, "strip", z.ZodTypeAny, { mode?: "edgeless" | "page" | undefined; blockIds?: string[] | undefined; elementIds?: string[] | undefined; databaseId?: string | undefined; databaseRowId?: string | undefined; xywh?: `[${number},${number},${number},${number}]` | undefined; }, { mode?: "edgeless" | "page" | undefined; blockIds?: string[] | undefined; elementIds?: string[] | undefined; databaseId?: string | undefined; databaseRowId?: string | undefined; xywh?: `[${number},${number},${number},${number}]` | undefined; }>>; } & { title: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { pageId: string; title?: string | undefined; description?: string | undefined; params?: { mode?: "edgeless" | "page" | undefined; blockIds?: string[] | undefined; elementIds?: string[] | undefined; databaseId?: string | undefined; databaseRowId?: string | undefined; xywh?: `[${number},${number},${number},${number}]` | undefined; } | undefined; }, { pageId: string; title?: string | undefined; description?: string | undefined; params?: { mode?: "edgeless" | "page" | undefined; blockIds?: string[] | undefined; elementIds?: string[] | undefined; databaseId?: string | undefined; databaseRowId?: string | undefined; xywh?: `[${number},${number},${number},${number}]` | undefined; } | undefined; }>; export type ReferenceInfo = z.infer; /** * FootNoteReferenceParamsSchema is used to define the parameters for a footnote reference. * It supports the following types: * 1. docId: string - the id of the doc * 2. blobId: string - the id of the attachment * 3. url: string - the url of the reference * 4. fileName: string - the name of the attachment * 5. fileType: string - the type of the attachment * 6. favicon: string - the favicon of the url reference * 7. title: string - the title of the url reference * 8. description: string - the description of the url reference */ export declare const FootNoteReferenceParamsSchema: z.ZodObject<{ type: z.ZodEnum<["doc", "attachment", "url"]>; docId: z.ZodOptional; blobId: z.ZodOptional; fileName: z.ZodOptional; fileType: z.ZodOptional; url: z.ZodOptional; favicon: z.ZodOptional; title: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "doc" | "attachment" | "url"; url?: string | undefined; title?: string | undefined; description?: string | undefined; docId?: string | undefined; blobId?: string | undefined; fileName?: string | undefined; fileType?: string | undefined; favicon?: string | undefined; }, { type: "doc" | "attachment" | "url"; url?: string | undefined; title?: string | undefined; description?: string | undefined; docId?: string | undefined; blobId?: string | undefined; fileName?: string | undefined; fileType?: string | undefined; favicon?: string | undefined; }>; export type FootNoteReferenceParams = z.infer; export declare const FootNoteSchema: z.ZodObject<{ label: z.ZodString; reference: z.ZodObject<{ type: z.ZodEnum<["doc", "attachment", "url"]>; docId: z.ZodOptional; blobId: z.ZodOptional; fileName: z.ZodOptional; fileType: z.ZodOptional; url: z.ZodOptional; favicon: z.ZodOptional; title: z.ZodOptional; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { type: "doc" | "attachment" | "url"; url?: string | undefined; title?: string | undefined; description?: string | undefined; docId?: string | undefined; blobId?: string | undefined; fileName?: string | undefined; fileType?: string | undefined; favicon?: string | undefined; }, { type: "doc" | "attachment" | "url"; url?: string | undefined; title?: string | undefined; description?: string | undefined; docId?: string | undefined; blobId?: string | undefined; fileName?: string | undefined; fileType?: string | undefined; favicon?: string | undefined; }>; }, "strip", z.ZodTypeAny, { label: string; reference: { type: "doc" | "attachment" | "url"; url?: string | undefined; title?: string | undefined; description?: string | undefined; docId?: string | undefined; blobId?: string | undefined; fileName?: string | undefined; fileType?: string | undefined; favicon?: string | undefined; }; }, { label: string; reference: { type: "doc" | "attachment" | "url"; url?: string | undefined; title?: string | undefined; description?: string | undefined; docId?: string | undefined; blobId?: string | undefined; fileName?: string | undefined; fileType?: string | undefined; favicon?: string | undefined; }; }>; export type FootNote = z.infer; //# sourceMappingURL=doc.d.ts.map