UNPKG

@udus/notion-renderer

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