UNPKG

@udus/notion-renderer

Version:
12 lines 944 B
import type { TitlePropertyItemObject } from "../../../../types/notion/property/title.js"; import type { Overwrite } from "../../../../types/utils.js"; import type { Client } from "@notionhq/client"; import type { PropertyItemObjectResponse, PropertyItemPropertyItemListResponse, TitlePropertyItemObjectResponse } from "@notionhq/client/build/src/api-endpoints.js"; export declare const convertResponseToTitlePropertyItem: (property: TitlePropertyItemObjectResponse, client: Client) => TitlePropertyItemObject; export declare const convertListResponseToTitlePropertyItem: (list: Overwrite<PropertyItemPropertyItemListResponse, { property_item: Extract<PropertyItemPropertyItemListResponse["property_item"], { type: "title"; }>; }>, client: Client) => TitlePropertyItemObject; export declare const isTitleTypeObject: (obj: PropertyItemObjectResponse) => obj is TitlePropertyItemObjectResponse; //# sourceMappingURL=title.d.ts.map