import { Util } from "../"; import { BlockFormat } from "./block_format"; /** * All block names. */ export declare type BlockType = "page" | "text" | "bulleted_list" | "numbered_list" | "to_do" | "toggle" | "header" | "sub_header" | "sub_sub_header" | "quote" | "callout" | "column_list" | "column" | "divider" | "collection_view" | "collection_view_page" | "image" | "video" | "audio" | "bookmark" | "code" | "file" | "embed" | "codepen" | "invision" | "pdf" | "table_of_contents" | "equation" | "factory" | "breadcrumb"; /** * An abstract block, used to hold common properties of all blocks. * * Doesn't actually exist in Notion. */ export interface EmptyBlock { id: Util.UUID; version: number; type: BlockType; format?: BlockFormat; /** Ids of children blocks */ content?: Util.UUID[]; created_by: Util.UUID; /** Appear in recently created blocks. */ created_by_id?: Util.UUID; /** Appear in recently created blocks. */ created_by_table?: Util.Table; created_time: Util.TimestampNumber; last_edited_by: Util.UUID; /** Appear in recently created blocks. */ last_edited_by_id?: Util.UUID; /** Appear in recently created blocks. */ last_edited_by_table?: Util.Table; last_edited_time: Util.TimestampNumber; parent_id: Util.UUID; parent_table: Util.Table; alive: boolean; /** Copied from another block. */ copied_from?: Util.UUID; } //# sourceMappingURL=empty_block.d.ts.map