UNPKG

@udus/notion-renderer

Version:
12 lines 956 B
import type { PeoplePropertyItemObject } from "../../../../types/notion/property/people.js"; import type { Overwrite } from "../../../../types/utils.js"; import type { Client } from "@notionhq/client"; import type { PeoplePropertyItemObjectResponse, PropertyItemObjectResponse, PropertyItemPropertyItemListResponse } from "@notionhq/client/build/src/api-endpoints.js"; export declare const convertResponseToPeoplePropertyItem: (property: PeoplePropertyItemObjectResponse, client: Client) => PeoplePropertyItemObject; export declare const convertListResponseToPeoplePropertyItem: (list: Overwrite<PropertyItemPropertyItemListResponse, { property_item: Extract<PropertyItemPropertyItemListResponse["property_item"], { type: "people"; }>; }>, client: Client) => PeoplePropertyItemObject; export declare const isPeopleTypeObject: (obj: PropertyItemObjectResponse) => obj is PeoplePropertyItemObjectResponse; //# sourceMappingURL=people.d.ts.map