@udus/notion-renderer
Version:

12 lines • 981 B
TypeScript
import type { RichTextPropertyItemObject } from "../../../../types/notion/property/richText.js";
import type { Overwrite } from "../../../../types/utils.js";
import type { Client } from "@notionhq/client";
import type { PropertyItemObjectResponse, PropertyItemPropertyItemListResponse, RichTextPropertyItemObjectResponse } from "@notionhq/client/build/src/api-endpoints.js";
export declare const convertResponseToRichTextPropertyItem: (property: RichTextPropertyItemObjectResponse, client: Client) => RichTextPropertyItemObject;
export declare const convertListResponseToRichTextPropertyItem: (list: Overwrite<PropertyItemPropertyItemListResponse, {
property_item: Extract<PropertyItemPropertyItemListResponse["property_item"], {
type: "rich_text";
}>;
}>, client: Client) => RichTextPropertyItemObject;
export declare const isRichTextTypeObject: (obj: PropertyItemObjectResponse) => obj is RichTextPropertyItemObjectResponse;
//# sourceMappingURL=richText.d.ts.map