notion-astro-loader
Version:
Notion loader for the Astro Content Layer API. It allows you to load pages from a Notion database then render them as pages in a collection.
1,107 lines • 33.7 kB
TypeScript
export declare const number: import("zod").ZodEffects<import("zod").ZodObject<{
type: import("zod").ZodLiteral<"number">;
id: import("zod").ZodString;
} & {
number: import("zod").ZodNullable<import("zod").ZodNumber>;
}, "strip", import("zod").ZodTypeAny, {
number: number | null;
id: string;
type: "number";
}, {
number: number | null;
id: string;
type: "number";
}>, number | null, {
number: number | null;
id: string;
type: "number";
}>;
export declare const url: import("zod").ZodEffects<import("zod").ZodObject<{
type: import("zod").ZodLiteral<"url">;
id: import("zod").ZodString;
} & {
url: import("zod").ZodNullable<import("zod").ZodString>;
}, "strip", import("zod").ZodTypeAny, {
url: string | null;
id: string;
type: "url";
}, {
url: string | null;
id: string;
type: "url";
}>, string | null, {
url: string | null;
id: string;
type: "url";
}>;
export declare const email: import("zod").ZodEffects<import("zod").ZodObject<{
type: import("zod").ZodLiteral<"email">;
id: import("zod").ZodString;
} & {
email: import("zod").ZodNullable<import("zod").ZodString>;
}, "strip", import("zod").ZodTypeAny, {
email: string | null;
id: string;
type: "email";
}, {
email: string | null;
id: string;
type: "email";
}>, string | null, {
email: string | null;
id: string;
type: "email";
}>;
export declare const phone_number: import("zod").ZodEffects<import("zod").ZodObject<{
type: import("zod").ZodLiteral<"phone_number">;
id: import("zod").ZodString;
} & {
phone_number: import("zod").ZodNullable<import("zod").ZodString>;
}, "strip", import("zod").ZodTypeAny, {
phone_number: string | null;
id: string;
type: "phone_number";
}, {
phone_number: string | null;
id: string;
type: "phone_number";
}>, string | null, {
phone_number: string | null;
id: string;
type: "phone_number";
}>;
export declare const checkbox: import("zod").ZodEffects<import("zod").ZodObject<{
type: import("zod").ZodLiteral<"checkbox">;
id: import("zod").ZodString;
} & {
checkbox: import("zod").ZodBoolean;
}, "strip", import("zod").ZodTypeAny, {
checkbox: boolean;
id: string;
type: "checkbox";
}, {
checkbox: boolean;
id: string;
type: "checkbox";
}>, boolean, {
checkbox: boolean;
id: string;
type: "checkbox";
}>;
export declare const select: import("zod").ZodEffects<import("zod").ZodObject<{
type: import("zod").ZodLiteral<"select">;
id: import("zod").ZodString;
} & {
select: import("zod").ZodNullable<import("zod").ZodObject<{
id: import("zod").ZodString;
name: import("zod").ZodString;
color: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
id: string;
color: string;
name: string;
}, {
id: string;
color: string;
name: string;
}>>;
}, "strip", import("zod").ZodTypeAny, {
select: {
id: string;
color: string;
name: string;
} | null;
id: string;
type: "select";
}, {
select: {
id: string;
color: string;
name: string;
} | null;
id: string;
type: "select";
}>, string | null, {
select: {
id: string;
color: string;
name: string;
} | null;
id: string;
type: "select";
}>;
export declare const multi_select: import("zod").ZodEffects<import("zod").ZodObject<{
type: import("zod").ZodLiteral<"multi_select">;
id: import("zod").ZodString;
} & {
multi_select: import("zod").ZodArray<import("zod").ZodObject<{
id: import("zod").ZodString;
name: import("zod").ZodString;
color: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
id: string;
color: string;
name: string;
}, {
id: string;
color: string;
name: string;
}>, "many">;
}, "strip", import("zod").ZodTypeAny, {
multi_select: {
id: string;
color: string;
name: string;
}[];
id: string;
type: "multi_select";
}, {
multi_select: {
id: string;
color: string;
name: string;
}[];
id: string;
type: "multi_select";
}>, string[], {
multi_select: {
id: string;
color: string;
name: string;
}[];
id: string;
type: "multi_select";
}>;
export declare const status: import("zod").ZodEffects<import("zod").ZodObject<{
type: import("zod").ZodLiteral<"status">;
id: import("zod").ZodString;
} & {
status: import("zod").ZodNullable<import("zod").ZodObject<{
id: import("zod").ZodString;
name: import("zod").ZodString;
color: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
id: string;
color: string;
name: string;
}, {
id: string;
color: string;
name: string;
}>>;
}, "strip", import("zod").ZodTypeAny, {
status: {
id: string;
color: string;
name: string;
} | null;
id: string;
type: "status";
}, {
status: {
id: string;
color: string;
name: string;
} | null;
id: string;
type: "status";
}>, string | null, {
status: {
id: string;
color: string;
name: string;
} | null;
id: string;
type: "status";
}>;
export declare const title: import("zod").ZodEffects<import("zod").ZodObject<{
type: import("zod").ZodLiteral<"title">;
id: import("zod").ZodString;
} & {
title: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<import("zod").objectUtil.extendShape<{
annotations: import("zod").ZodObject<{
bold: import("zod").ZodBoolean;
italic: import("zod").ZodBoolean;
strikethrough: import("zod").ZodBoolean;
underline: import("zod").ZodBoolean;
code: import("zod").ZodBoolean;
color: import("zod").ZodString;
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
bold: import("zod").ZodBoolean;
italic: import("zod").ZodBoolean;
strikethrough: import("zod").ZodBoolean;
underline: import("zod").ZodBoolean;
code: import("zod").ZodBoolean;
color: import("zod").ZodString;
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
bold: import("zod").ZodBoolean;
italic: import("zod").ZodBoolean;
strikethrough: import("zod").ZodBoolean;
underline: import("zod").ZodBoolean;
code: import("zod").ZodBoolean;
color: import("zod").ZodString;
}, import("zod").ZodTypeAny, "passthrough">>;
plain_text: import("zod").ZodString;
href: import("zod").ZodNullable<import("zod").ZodString>;
}, {
type: import("zod").ZodLiteral<"text">;
text: import("zod").ZodObject<{
content: import("zod").ZodString;
link: import("zod").ZodNullable<import("zod").ZodObject<{
url: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
url: string;
}, {
url: string;
}>>;
}, "strip", import("zod").ZodTypeAny, {
link: {
url: string;
} | null;
content: string;
}, {
link: {
url: string;
} | null;
content: string;
}>;
}>, "strip", import("zod").ZodTypeAny, {
type: "text";
annotations: {
code: boolean;
bold: boolean;
italic: boolean;
strikethrough: boolean;
underline: boolean;
color: string;
} & {
[k: string]: unknown;
};
plain_text: string;
href: string | null;
text: {
link: {
url: string;
} | null;
content: string;
};
}, {
type: "text";
annotations: {
code: boolean;
bold: boolean;
italic: boolean;
strikethrough: boolean;
underline: boolean;
color: string;
} & {
[k: string]: unknown;
};
plain_text: string;
href: string | null;
text: {
link: {
url: string;
} | null;
content: string;
};
}>, import("zod").ZodObject<import("zod").objectUtil.extendShape<{
annotations: import("zod").ZodObject<{
bold: import("zod").ZodBoolean;
italic: import("zod").ZodBoolean;
strikethrough: import("zod").ZodBoolean;
underline: import("zod").ZodBoolean;
code: import("zod").ZodBoolean;
color: import("zod").ZodString;
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
bold: import("zod").ZodBoolean;
italic: import("zod").ZodBoolean;
strikethrough: import("zod").ZodBoolean;
underline: import("zod").ZodBoolean;
code: import("zod").ZodBoolean;
color: import("zod").ZodString;
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
bold: import("zod").ZodBoolean;
italic: import("zod").ZodBoolean;
strikethrough: import("zod").ZodBoolean;
underline: import("zod").ZodBoolean;
code: import("zod").ZodBoolean;
color: import("zod").ZodString;
}, import("zod").ZodTypeAny, "passthrough">>;
plain_text: import("zod").ZodString;
href: import("zod").ZodNullable<import("zod").ZodString>;
}, {
type: import("zod").ZodLiteral<"mention">;
mention: import("zod").ZodObject<{
type: import("zod").ZodEnum<["user", "date", "link_preview", "template_mention", "page", "database"]>;
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
type: import("zod").ZodEnum<["user", "date", "link_preview", "template_mention", "page", "database"]>;
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
type: import("zod").ZodEnum<["user", "date", "link_preview", "template_mention", "page", "database"]>;
}, import("zod").ZodTypeAny, "passthrough">>;
}>, "strip", import("zod").ZodTypeAny, {
type: "mention";
annotations: {
code: boolean;
bold: boolean;
italic: boolean;
strikethrough: boolean;
underline: boolean;
color: string;
} & {
[k: string]: unknown;
};
plain_text: string;
href: string | null;
mention: {
type: "date" | "link_preview" | "user" | "template_mention" | "page" | "database";
} & {
[k: string]: unknown;
};
}, {
type: "mention";
annotations: {
code: boolean;
bold: boolean;
italic: boolean;
strikethrough: boolean;
underline: boolean;
color: string;
} & {
[k: string]: unknown;
};
plain_text: string;
href: string | null;
mention: {
type: "date" | "link_preview" | "user" | "template_mention" | "page" | "database";
} & {
[k: string]: unknown;
};
}>, import("zod").ZodObject<import("zod").objectUtil.extendShape<{
annotations: import("zod").ZodObject<{
bold: import("zod").ZodBoolean;
italic: import("zod").ZodBoolean;
strikethrough: import("zod").ZodBoolean;
underline: import("zod").ZodBoolean;
code: import("zod").ZodBoolean;
color: import("zod").ZodString;
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
bold: import("zod").ZodBoolean;
italic: import("zod").ZodBoolean;
strikethrough: import("zod").ZodBoolean;
underline: import("zod").ZodBoolean;
code: import("zod").ZodBoolean;
color: import("zod").ZodString;
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
bold: import("zod").ZodBoolean;
italic: import("zod").ZodBoolean;
strikethrough: import("zod").ZodBoolean;
underline: import("zod").ZodBoolean;
code: import("zod").ZodBoolean;
color: import("zod").ZodString;
}, import("zod").ZodTypeAny, "passthrough">>;
plain_text: import("zod").ZodString;
href: import("zod").ZodNullable<import("zod").ZodString>;
}, {
type: import("zod").ZodLiteral<"equation">;
equation: import("zod").ZodObject<{
expression: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
expression: string;
}, {
expression: string;
}>;
}>, "strip", import("zod").ZodTypeAny, {
type: "equation";
equation: {
expression: string;
};
annotations: {
code: boolean;
bold: boolean;
italic: boolean;
strikethrough: boolean;
underline: boolean;
color: string;
} & {
[k: string]: unknown;
};
plain_text: string;
href: string | null;
}, {
type: "equation";
equation: {
expression: string;
};
annotations: {
code: boolean;
bold: boolean;
italic: boolean;
strikethrough: boolean;
underline: boolean;
color: string;
} & {
[k: string]: unknown;
};
plain_text: string;
href: string | null;
}>]>, "many">;
}, "strip", import("zod").ZodTypeAny, {
title: ({
type: "text";
annotations: {
code: boolean;
bold: boolean;
italic: boolean;
strikethrough: boolean;
underline: boolean;
color: string;
} & {
[k: string]: unknown;
};
plain_text: string;
href: string | null;
text: {
link: {
url: string;
} | null;
content: string;
};
} | {
type: "mention";
annotations: {
code: boolean;
bold: boolean;
italic: boolean;
strikethrough: boolean;
underline: boolean;
color: string;
} & {
[k: string]: unknown;
};
plain_text: string;
href: string | null;
mention: {
type: "date" | "link_preview" | "user" | "template_mention" | "page" | "database";
} & {
[k: string]: unknown;
};
} | {
type: "equation";
equation: {
expression: string;
};
annotations: {
code: boolean;
bold: boolean;
italic: boolean;
strikethrough: boolean;
underline: boolean;
color: string;
} & {
[k: string]: unknown;
};
plain_text: string;
href: string | null;
})[];
id: string;
type: "title";
}, {
title: ({
type: "text";
annotations: {
code: boolean;
bold: boolean;
italic: boolean;
strikethrough: boolean;
underline: boolean;
color: string;
} & {
[k: string]: unknown;
};
plain_text: string;
href: string | null;
text: {
link: {
url: string;
} | null;
content: string;
};
} | {
type: "mention";
annotations: {
code: boolean;
bold: boolean;
italic: boolean;
strikethrough: boolean;
underline: boolean;
color: string;
} & {
[k: string]: unknown;
};
plain_text: string;
href: string | null;
mention: {
type: "date" | "link_preview" | "user" | "template_mention" | "page" | "database";
} & {
[k: string]: unknown;
};
} | {
type: "equation";
equation: {
expression: string;
};
annotations: {
code: boolean;
bold: boolean;
italic: boolean;
strikethrough: boolean;
underline: boolean;
color: string;
} & {
[k: string]: unknown;
};
plain_text: string;
href: string | null;
})[];
id: string;
type: "title";
}>, string, {
title: ({
type: "text";
annotations: {
code: boolean;
bold: boolean;
italic: boolean;
strikethrough: boolean;
underline: boolean;
color: string;
} & {
[k: string]: unknown;
};
plain_text: string;
href: string | null;
text: {
link: {
url: string;
} | null;
content: string;
};
} | {
type: "mention";
annotations: {
code: boolean;
bold: boolean;
italic: boolean;
strikethrough: boolean;
underline: boolean;
color: string;
} & {
[k: string]: unknown;
};
plain_text: string;
href: string | null;
mention: {
type: "date" | "link_preview" | "user" | "template_mention" | "page" | "database";
} & {
[k: string]: unknown;
};
} | {
type: "equation";
equation: {
expression: string;
};
annotations: {
code: boolean;
bold: boolean;
italic: boolean;
strikethrough: boolean;
underline: boolean;
color: string;
} & {
[k: string]: unknown;
};
plain_text: string;
href: string | null;
})[];
id: string;
type: "title";
}>;
export declare const rich_text: import("zod").ZodEffects<import("zod").ZodObject<{
type: import("zod").ZodLiteral<"rich_text">;
id: import("zod").ZodString;
} & {
rich_text: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<"type", [import("zod").ZodObject<import("zod").objectUtil.extendShape<{
annotations: import("zod").ZodObject<{
bold: import("zod").ZodBoolean;
italic: import("zod").ZodBoolean;
strikethrough: import("zod").ZodBoolean;
underline: import("zod").ZodBoolean;
code: import("zod").ZodBoolean;
color: import("zod").ZodString;
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
bold: import("zod").ZodBoolean;
italic: import("zod").ZodBoolean;
strikethrough: import("zod").ZodBoolean;
underline: import("zod").ZodBoolean;
code: import("zod").ZodBoolean;
color: import("zod").ZodString;
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
bold: import("zod").ZodBoolean;
italic: import("zod").ZodBoolean;
strikethrough: import("zod").ZodBoolean;
underline: import("zod").ZodBoolean;
code: import("zod").ZodBoolean;
color: import("zod").ZodString;
}, import("zod").ZodTypeAny, "passthrough">>;
plain_text: import("zod").ZodString;
href: import("zod").ZodNullable<import("zod").ZodString>;
}, {
type: import("zod").ZodLiteral<"text">;
text: import("zod").ZodObject<{
content: import("zod").ZodString;
link: import("zod").ZodNullable<import("zod").ZodObject<{
url: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
url: string;
}, {
url: string;
}>>;
}, "strip", import("zod").ZodTypeAny, {
link: {
url: string;
} | null;
content: string;
}, {
link: {
url: string;
} | null;
content: string;
}>;
}>, "strip", import("zod").ZodTypeAny, {
type: "text";
annotations: {
code: boolean;
bold: boolean;
italic: boolean;
strikethrough: boolean;
underline: boolean;
color: string;
} & {
[k: string]: unknown;
};
plain_text: string;
href: string | null;
text: {
link: {
url: string;
} | null;
content: string;
};
}, {
type: "text";
annotations: {
code: boolean;
bold: boolean;
italic: boolean;
strikethrough: boolean;
underline: boolean;
color: string;
} & {
[k: string]: unknown;
};
plain_text: string;
href: string | null;
text: {
link: {
url: string;
} | null;
content: string;
};
}>, import("zod").ZodObject<import("zod").objectUtil.extendShape<{
annotations: import("zod").ZodObject<{
bold: import("zod").ZodBoolean;
italic: import("zod").ZodBoolean;
strikethrough: import("zod").ZodBoolean;
underline: import("zod").ZodBoolean;
code: import("zod").ZodBoolean;
color: import("zod").ZodString;
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
bold: import("zod").ZodBoolean;
italic: import("zod").ZodBoolean;
strikethrough: import("zod").ZodBoolean;
underline: import("zod").ZodBoolean;
code: import("zod").ZodBoolean;
color: import("zod").ZodString;
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
bold: import("zod").ZodBoolean;
italic: import("zod").ZodBoolean;
strikethrough: import("zod").ZodBoolean;
underline: import("zod").ZodBoolean;
code: import("zod").ZodBoolean;
color: import("zod").ZodString;
}, import("zod").ZodTypeAny, "passthrough">>;
plain_text: import("zod").ZodString;
href: import("zod").ZodNullable<import("zod").ZodString>;
}, {
type: import("zod").ZodLiteral<"mention">;
mention: import("zod").ZodObject<{
type: import("zod").ZodEnum<["user", "date", "link_preview", "template_mention", "page", "database"]>;
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
type: import("zod").ZodEnum<["user", "date", "link_preview", "template_mention", "page", "database"]>;
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
type: import("zod").ZodEnum<["user", "date", "link_preview", "template_mention", "page", "database"]>;
}, import("zod").ZodTypeAny, "passthrough">>;
}>, "strip", import("zod").ZodTypeAny, {
type: "mention";
annotations: {
code: boolean;
bold: boolean;
italic: boolean;
strikethrough: boolean;
underline: boolean;
color: string;
} & {
[k: string]: unknown;
};
plain_text: string;
href: string | null;
mention: {
type: "date" | "link_preview" | "user" | "template_mention" | "page" | "database";
} & {
[k: string]: unknown;
};
}, {
type: "mention";
annotations: {
code: boolean;
bold: boolean;
italic: boolean;
strikethrough: boolean;
underline: boolean;
color: string;
} & {
[k: string]: unknown;
};
plain_text: string;
href: string | null;
mention: {
type: "date" | "link_preview" | "user" | "template_mention" | "page" | "database";
} & {
[k: string]: unknown;
};
}>, import("zod").ZodObject<import("zod").objectUtil.extendShape<{
annotations: import("zod").ZodObject<{
bold: import("zod").ZodBoolean;
italic: import("zod").ZodBoolean;
strikethrough: import("zod").ZodBoolean;
underline: import("zod").ZodBoolean;
code: import("zod").ZodBoolean;
color: import("zod").ZodString;
}, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{
bold: import("zod").ZodBoolean;
italic: import("zod").ZodBoolean;
strikethrough: import("zod").ZodBoolean;
underline: import("zod").ZodBoolean;
code: import("zod").ZodBoolean;
color: import("zod").ZodString;
}, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{
bold: import("zod").ZodBoolean;
italic: import("zod").ZodBoolean;
strikethrough: import("zod").ZodBoolean;
underline: import("zod").ZodBoolean;
code: import("zod").ZodBoolean;
color: import("zod").ZodString;
}, import("zod").ZodTypeAny, "passthrough">>;
plain_text: import("zod").ZodString;
href: import("zod").ZodNullable<import("zod").ZodString>;
}, {
type: import("zod").ZodLiteral<"equation">;
equation: import("zod").ZodObject<{
expression: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
expression: string;
}, {
expression: string;
}>;
}>, "strip", import("zod").ZodTypeAny, {
type: "equation";
equation: {
expression: string;
};
annotations: {
code: boolean;
bold: boolean;
italic: boolean;
strikethrough: boolean;
underline: boolean;
color: string;
} & {
[k: string]: unknown;
};
plain_text: string;
href: string | null;
}, {
type: "equation";
equation: {
expression: string;
};
annotations: {
code: boolean;
bold: boolean;
italic: boolean;
strikethrough: boolean;
underline: boolean;
color: string;
} & {
[k: string]: unknown;
};
plain_text: string;
href: string | null;
}>]>, "many">;
}, "strip", import("zod").ZodTypeAny, {
rich_text: ({
type: "text";
annotations: {
code: boolean;
bold: boolean;
italic: boolean;
strikethrough: boolean;
underline: boolean;
color: string;
} & {
[k: string]: unknown;
};
plain_text: string;
href: string | null;
text: {
link: {
url: string;
} | null;
content: string;
};
} | {
type: "mention";
annotations: {
code: boolean;
bold: boolean;
italic: boolean;
strikethrough: boolean;
underline: boolean;
color: string;
} & {
[k: string]: unknown;
};
plain_text: string;
href: string | null;
mention: {
type: "date" | "link_preview" | "user" | "template_mention" | "page" | "database";
} & {
[k: string]: unknown;
};
} | {
type: "equation";
equation: {
expression: string;
};
annotations: {
code: boolean;
bold: boolean;
italic: boolean;
strikethrough: boolean;
underline: boolean;
color: string;
} & {
[k: string]: unknown;
};
plain_text: string;
href: string | null;
})[];
id: string;
type: "rich_text";
}, {
rich_text: ({
type: "text";
annotations: {
code: boolean;
bold: boolean;
italic: boolean;
strikethrough: boolean;
underline: boolean;
color: string;
} & {
[k: string]: unknown;
};
plain_text: string;
href: string | null;
text: {
link: {
url: string;
} | null;
content: string;
};
} | {
type: "mention";
annotations: {
code: boolean;
bold: boolean;
italic: boolean;
strikethrough: boolean;
underline: boolean;
color: string;
} & {
[k: string]: unknown;
};
plain_text: string;
href: string | null;
mention: {
type: "date" | "link_preview" | "user" | "template_mention" | "page" | "database";
} & {
[k: string]: unknown;
};
} | {
type: "equation";
equation: {
expression: string;
};
annotations: {
code: boolean;
bold: boolean;
italic: boolean;
strikethrough: boolean;
underline: boolean;
color: string;
} & {
[k: string]: unknown;
};
plain_text: string;
href: string | null;
})[];
id: string;
type: "rich_text";
}>, string, {
rich_text: ({
type: "text";
annotations: {
code: boolean;
bold: boolean;
italic: boolean;
strikethrough: boolean;
underline: boolean;
color: string;
} & {
[k: string]: unknown;
};
plain_text: string;
href: string | null;
text: {
link: {
url: string;
} | null;
content: string;
};
} | {
type: "mention";
annotations: {
code: boolean;
bold: boolean;
italic: boolean;
strikethrough: boolean;
underline: boolean;
color: string;
} & {
[k: string]: unknown;
};
plain_text: string;
href: string | null;
mention: {
type: "date" | "link_preview" | "user" | "template_mention" | "page" | "database";
} & {
[k: string]: unknown;
};
} | {
type: "equation";
equation: {
expression: string;
};
annotations: {
code: boolean;
bold: boolean;
italic: boolean;
strikethrough: boolean;
underline: boolean;
color: string;
} & {
[k: string]: unknown;
};
plain_text: string;
href: string | null;
})[];
id: string;
type: "rich_text";
}>;
export declare const date: import("zod").ZodEffects<import("zod").ZodObject<{
type: import("zod").ZodLiteral<"date">;
id: import("zod").ZodString;
} & {
date: import("zod").ZodNullable<import("zod").ZodObject<{
start: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString]>;
end: import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString]>>;
time_zone: import("zod").ZodNullable<import("zod").ZodString>;
}, "strip", import("zod").ZodTypeAny, {
end: string | null;
start: string;
time_zone: string | null;
}, {
end: string | null;
start: string;
time_zone: string | null;
}>>;
}, "strip", import("zod").ZodTypeAny, {
date: {
end: string | null;
start: string;
time_zone: string | null;
} | null;
id: string;
type: "date";
}, {
date: {
end: string | null;
start: string;
time_zone: string | null;
} | null;
id: string;
type: "date";
}>, {
start: Date;
end: Date | null;
time_zone: string | null;
} | null, {
date: {
end: string | null;
start: string;
time_zone: string | null;
} | null;
id: string;
type: "date";
}>;
export declare const created_time: import("zod").ZodEffects<import("zod").ZodObject<{
type: import("zod").ZodLiteral<"created_time">;
id: import("zod").ZodString;
} & {
created_time: import("zod").ZodString;
}, "strip", import("zod").ZodTypeAny, {
created_time: string;
id: string;
type: "created_time";
}, {
created_time: string;
id: string;
type: "created_time";
}>, Date, {
created_time: string;
id: string;
type: "created_time";
}>;
//# sourceMappingURL=transformed-properties.d.ts.map