UNPKG

get-notion-object-title

Version:
20 lines (19 loc) 416 B
export type Icon = { type: 'emoji'; emoji: string; } | { type: 'external'; external: { url: string; }; } | { type: 'file'; file: { url: string; expiry_time: string; }; } | null; export type GetNotionObjectTitleOptions = { emoji?: boolean; }; export declare const getNotionObjectTitle: (notionObject: unknown, options?: GetNotionObjectTitleOptions) => any;