/** * Notion page shapes exchanged over the custom block bridge. * * These mirror a narrow subset of Notion's public `POST /v1/pages` API, since that's the bridge * shape the host delivers for messages like `createPageResult`. */ import * as v from "valibot"; export type { NotionPageId } from "../ids.js"; export declare const customBlockPageSchema: v.ObjectSchema<{ readonly id: v.CustomSchema | undefined>; }, undefined>; export type CustomBlockPage = v.InferOutput; /** * Parent reference accepted by `pages.create` / `pages.update` inputs. * * Mirrors the parent shape Notion's public `POST /v1/pages` API accepts: `page_id` for a * page-parented child, `data_source_id` for a database row. `data_source_id` is the internal * collection ID. */ export declare const notionPageParentInputSchema: v.VariantSchema<"type", [v.ObjectSchema<{ readonly type: v.LiteralSchema<"page_id", undefined>; readonly page_id: v.CustomSchema | undefined>; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"data_source_id", undefined>; readonly data_source_id: v.CustomSchema | undefined>; }, undefined>], undefined>; export type NotionPageParentInput = v.InferOutput; export declare const notionEmojiIconSchema: v.ObjectSchema<{ readonly type: v.LiteralSchema<"emoji", undefined>; readonly emoji: v.StringSchema; }, undefined>; export declare const notionCustomEmojiIconSchema: v.ObjectSchema<{ readonly type: v.LiteralSchema<"custom_emoji", undefined>; readonly custom_emoji: v.ObjectSchema<{ readonly id: v.StringSchema; readonly name: v.OptionalSchema, undefined>; readonly url: v.OptionalSchema, undefined>; }, undefined>; }, undefined>; export declare const notionExternalFileSchema: v.ObjectSchema<{ readonly type: v.LiteralSchema<"external", undefined>; readonly external: v.ObjectSchema<{ readonly url: v.StringSchema; }, undefined>; }, undefined>; export declare const notionHostedFileSchema: v.ObjectSchema<{ readonly type: v.LiteralSchema<"file", undefined>; readonly file: v.ObjectSchema<{ readonly url: v.StringSchema; readonly expiry_time: v.OptionalSchema, undefined>; }, undefined>; }, undefined>; export declare const notionPageIconSchema: v.VariantSchema<"type", [v.ObjectSchema<{ readonly type: v.LiteralSchema<"emoji", undefined>; readonly emoji: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"custom_emoji", undefined>; readonly custom_emoji: v.ObjectSchema<{ readonly id: v.StringSchema; readonly name: v.OptionalSchema, undefined>; readonly url: v.OptionalSchema, undefined>; }, undefined>; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"external", undefined>; readonly external: v.ObjectSchema<{ readonly url: v.StringSchema; }, undefined>; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"file", undefined>; readonly file: v.ObjectSchema<{ readonly url: v.StringSchema; readonly expiry_time: v.OptionalSchema, undefined>; }, undefined>; }, undefined>], undefined>; export type NotionPageIcon = v.InferOutput; export declare const notionPageCoverSchema: v.VariantSchema<"type", [v.ObjectSchema<{ readonly type: v.LiteralSchema<"external", undefined>; readonly external: v.ObjectSchema<{ readonly url: v.StringSchema; }, undefined>; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"file", undefined>; readonly file: v.ObjectSchema<{ readonly url: v.StringSchema; readonly expiry_time: v.OptionalSchema, undefined>; }, undefined>; }, undefined>], undefined>; export type NotionPageCover = v.InferOutput; declare const notionRichTextItemSchema: v.RecordSchema, v.UnknownSchema, undefined>; export type NotionRichTextItem = v.InferOutput; declare const notionSelectOptionInputSchema: v.UnionSchema<[v.ObjectSchema<{ readonly id: v.StringSchema; readonly name: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>, v.ObjectSchema<{ readonly name: v.StringSchema; readonly id: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>], undefined>; export type NotionSelectOptionInput = v.InferOutput; declare const notionDateInputSchema: v.ObjectSchema<{ readonly start: v.StringSchema; readonly end: v.OptionalSchema, undefined>, undefined>; readonly time_zone: v.OptionalSchema, undefined>, undefined>; }, undefined>; export type NotionDateInput = v.InferOutput; declare const notionUserInputSchema: v.UnionSchema<[v.ObjectSchema<{ readonly object: v.OptionalSchema, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly object: v.LiteralSchema<"group", undefined>; readonly id: v.StringSchema; readonly name: v.OptionalSchema, undefined>, undefined>; }, undefined>], undefined>; export type NotionUserInput = v.InferOutput; declare const notionRelationInputSchema: v.ObjectSchema<{ readonly id: v.StringSchema; }, undefined>; export type NotionRelationInput = v.InferOutput; declare const notionFileInputSchema: v.UnionSchema<[v.ObjectSchema<{ readonly type: v.LiteralSchema<"external", undefined>; readonly name: v.StringSchema; readonly external: v.ObjectSchema<{ readonly url: v.StringSchema; }, undefined>; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"file", undefined>; readonly name: v.StringSchema; readonly file: v.ObjectSchema<{ readonly url: v.StringSchema; readonly expiry_time: v.OptionalSchema, undefined>; }, undefined>; }, undefined>], undefined>; export type NotionFileInput = v.InferOutput; declare const notionPlaceInputSchema: v.ObjectSchema<{ readonly lat: v.NumberSchema; readonly lon: v.NumberSchema; readonly name: v.OptionalSchema, undefined>, undefined>; readonly address: v.OptionalSchema, undefined>, undefined>; readonly aws_place_id: v.OptionalSchema, undefined>, undefined>; readonly google_place_id: v.OptionalSchema, undefined>, undefined>; }, undefined>; export type NotionPlaceInput = v.InferOutput; /** * A page property value. */ export declare const notionPagePropertyValueSchema: v.VariantSchema<"type", [v.ObjectSchema<{ readonly type: v.LiteralSchema<"title", undefined>; readonly title: v.ArraySchema, v.UnknownSchema, undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"rich_text", undefined>; readonly rich_text: v.ArraySchema, v.UnknownSchema, undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"number", undefined>; readonly number: v.NullableSchema, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"url", undefined>; readonly url: v.NullableSchema, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"email", undefined>; readonly email: v.NullableSchema, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"phone_number", undefined>; readonly phone_number: v.NullableSchema, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"checkbox", undefined>; readonly checkbox: v.BooleanSchema; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"select", undefined>; readonly select: v.NullableSchema; readonly name: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>, v.ObjectSchema<{ readonly name: v.StringSchema; readonly id: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>], undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"status", undefined>; readonly status: v.NullableSchema; readonly name: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>, v.ObjectSchema<{ readonly name: v.StringSchema; readonly id: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>], undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"multi_select", undefined>; readonly multi_select: v.ArraySchema; readonly name: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>, v.ObjectSchema<{ readonly name: v.StringSchema; readonly id: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>], undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"date", undefined>; readonly date: v.NullableSchema; readonly end: v.OptionalSchema, undefined>, undefined>; readonly time_zone: v.OptionalSchema, undefined>, undefined>; }, undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"people", undefined>; readonly people: v.ArraySchema, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly object: v.LiteralSchema<"group", undefined>; readonly id: v.StringSchema; readonly name: v.OptionalSchema, undefined>, undefined>; }, undefined>], undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"relation", undefined>; readonly has_more: v.OptionalSchema, undefined>; readonly relation: v.ArraySchema; }, undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"files", undefined>; readonly files: v.ArraySchema; readonly name: v.StringSchema; readonly external: v.ObjectSchema<{ readonly url: v.StringSchema; }, undefined>; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"file", undefined>; readonly name: v.StringSchema; readonly file: v.ObjectSchema<{ readonly url: v.StringSchema; readonly expiry_time: v.OptionalSchema, undefined>; }, undefined>; }, undefined>], undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"place", undefined>; readonly place: v.NullableSchema; readonly lon: v.NumberSchema; readonly name: v.OptionalSchema, undefined>, undefined>; readonly address: v.OptionalSchema, undefined>, undefined>; readonly aws_place_id: v.OptionalSchema, undefined>, undefined>; readonly google_place_id: v.OptionalSchema, undefined>, undefined>; }, undefined>, undefined>; readonly id: v.StringSchema; }, undefined>], undefined>; export type NotionPagePropertyValue = v.InferOutput; type WithOptionalPropertyId = T extends { id: string; } ? Omit & { id?: string; } : never; /** * Public SDK page property write input. Keys may be raw property IDs or data-source * property keys. `id` is optional because the SDK resolves the final raw property ID * from the map key before sending the bridge message. */ export type NotionPagePropertyInputValue = WithOptionalPropertyId; export type NotionPagePropertyInputMap = { [propertyIdOrKey: string]: NotionPagePropertyInputValue; }; export declare const notionPagePropertyWriteMapSchema: v.RecordSchema, v.VariantSchema<"type", [v.ObjectSchema<{ readonly type: v.LiteralSchema<"title", undefined>; readonly title: v.ArraySchema, v.UnknownSchema, undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"rich_text", undefined>; readonly rich_text: v.ArraySchema, v.UnknownSchema, undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"number", undefined>; readonly number: v.NullableSchema, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"url", undefined>; readonly url: v.NullableSchema, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"email", undefined>; readonly email: v.NullableSchema, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"phone_number", undefined>; readonly phone_number: v.NullableSchema, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"checkbox", undefined>; readonly checkbox: v.BooleanSchema; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"select", undefined>; readonly select: v.NullableSchema; readonly name: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>, v.ObjectSchema<{ readonly name: v.StringSchema; readonly id: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>], undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"status", undefined>; readonly status: v.NullableSchema; readonly name: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>, v.ObjectSchema<{ readonly name: v.StringSchema; readonly id: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>], undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"multi_select", undefined>; readonly multi_select: v.ArraySchema; readonly name: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>, v.ObjectSchema<{ readonly name: v.StringSchema; readonly id: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>], undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"date", undefined>; readonly date: v.NullableSchema; readonly end: v.OptionalSchema, undefined>, undefined>; readonly time_zone: v.OptionalSchema, undefined>, undefined>; }, undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"people", undefined>; readonly people: v.ArraySchema, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly object: v.LiteralSchema<"group", undefined>; readonly id: v.StringSchema; readonly name: v.OptionalSchema, undefined>, undefined>; }, undefined>], undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"relation", undefined>; readonly has_more: v.OptionalSchema, undefined>; readonly relation: v.ArraySchema; }, undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"files", undefined>; readonly files: v.ArraySchema; readonly name: v.StringSchema; readonly external: v.ObjectSchema<{ readonly url: v.StringSchema; }, undefined>; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"file", undefined>; readonly name: v.StringSchema; readonly file: v.ObjectSchema<{ readonly url: v.StringSchema; readonly expiry_time: v.OptionalSchema, undefined>; }, undefined>; }, undefined>], undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"place", undefined>; readonly place: v.NullableSchema; readonly lon: v.NumberSchema; readonly name: v.OptionalSchema, undefined>, undefined>; readonly address: v.OptionalSchema, undefined>, undefined>; readonly aws_place_id: v.OptionalSchema, undefined>, undefined>; readonly google_place_id: v.OptionalSchema, undefined>, undefined>; }, undefined>, undefined>; readonly id: v.StringSchema; }, undefined>], undefined>, undefined>; export type NotionPagePropertyWriteMap = v.InferOutput; /** * The `Page` object returned in `createPageResult` messages. */ export declare const notionPageSchema: v.ObjectSchema<{ readonly object: v.LiteralSchema<"page", undefined>; readonly id: v.CustomSchema | undefined>; readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{ readonly type: v.LiteralSchema<"page_id", undefined>; readonly page_id: v.CustomSchema | undefined>; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"data_source_id", undefined>; readonly data_source_id: v.CustomSchema | undefined>; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"workspace", undefined>; readonly workspace: v.LiteralSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"block_id", undefined>; readonly block_id: v.CustomSchema | undefined>; }, undefined>], undefined>; readonly properties: v.RecordSchema, v.VariantSchema<"type", [v.ObjectSchema<{ readonly type: v.LiteralSchema<"title", undefined>; readonly title: v.ArraySchema, v.UnknownSchema, undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"rich_text", undefined>; readonly rich_text: v.ArraySchema, v.UnknownSchema, undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"number", undefined>; readonly number: v.NullableSchema, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"url", undefined>; readonly url: v.NullableSchema, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"email", undefined>; readonly email: v.NullableSchema, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"phone_number", undefined>; readonly phone_number: v.NullableSchema, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"checkbox", undefined>; readonly checkbox: v.BooleanSchema; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"select", undefined>; readonly select: v.NullableSchema; readonly name: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>, v.ObjectSchema<{ readonly name: v.StringSchema; readonly id: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>], undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"status", undefined>; readonly status: v.NullableSchema; readonly name: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>, v.ObjectSchema<{ readonly name: v.StringSchema; readonly id: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>], undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"multi_select", undefined>; readonly multi_select: v.ArraySchema; readonly name: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>, v.ObjectSchema<{ readonly name: v.StringSchema; readonly id: v.OptionalSchema, undefined>; readonly color: v.OptionalSchema, undefined>; readonly description: v.OptionalSchema, undefined>, undefined>; }, undefined>], undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"date", undefined>; readonly date: v.NullableSchema; readonly end: v.OptionalSchema, undefined>, undefined>; readonly time_zone: v.OptionalSchema, undefined>, undefined>; }, undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"people", undefined>; readonly people: v.ArraySchema, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly object: v.LiteralSchema<"group", undefined>; readonly id: v.StringSchema; readonly name: v.OptionalSchema, undefined>, undefined>; }, undefined>], undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"relation", undefined>; readonly has_more: v.OptionalSchema, undefined>; readonly relation: v.ArraySchema; }, undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"files", undefined>; readonly files: v.ArraySchema; readonly name: v.StringSchema; readonly external: v.ObjectSchema<{ readonly url: v.StringSchema; }, undefined>; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"file", undefined>; readonly name: v.StringSchema; readonly file: v.ObjectSchema<{ readonly url: v.StringSchema; readonly expiry_time: v.OptionalSchema, undefined>; }, undefined>; }, undefined>], undefined>, undefined>; readonly id: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"place", undefined>; readonly place: v.NullableSchema; readonly lon: v.NumberSchema; readonly name: v.OptionalSchema, undefined>, undefined>; readonly address: v.OptionalSchema, undefined>, undefined>; readonly aws_place_id: v.OptionalSchema, undefined>, undefined>; readonly google_place_id: v.OptionalSchema, undefined>, undefined>; }, undefined>, undefined>; readonly id: v.StringSchema; }, undefined>], undefined>, undefined>; readonly created_time: v.OptionalSchema, undefined>; readonly last_edited_time: v.OptionalSchema, undefined>; readonly icon: v.OptionalSchema; readonly emoji: v.StringSchema; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"custom_emoji", undefined>; readonly custom_emoji: v.ObjectSchema<{ readonly id: v.StringSchema; readonly name: v.OptionalSchema, undefined>; readonly url: v.OptionalSchema, undefined>; }, undefined>; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"external", undefined>; readonly external: v.ObjectSchema<{ readonly url: v.StringSchema; }, undefined>; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"file", undefined>; readonly file: v.ObjectSchema<{ readonly url: v.StringSchema; readonly expiry_time: v.OptionalSchema, undefined>; }, undefined>; }, undefined>], undefined>, undefined>; readonly cover: v.OptionalSchema; readonly external: v.ObjectSchema<{ readonly url: v.StringSchema; }, undefined>; }, undefined>, v.ObjectSchema<{ readonly type: v.LiteralSchema<"file", undefined>; readonly file: v.ObjectSchema<{ readonly url: v.StringSchema; readonly expiry_time: v.OptionalSchema, undefined>; }, undefined>; }, undefined>], undefined>, undefined>; readonly url: v.OptionalSchema, undefined>; readonly public_url: v.OptionalSchema, undefined>; readonly in_trash: v.OptionalSchema, undefined>; }, undefined>; export type NotionPage = v.InferOutput; //# sourceMappingURL=page.d.ts.map