/** Creates a Notion database and its initial data source. */ export declare const createNotionDatabase: import("..").NotionDefinedAction<(args: { parent: { type: "page_id" | "workspace"; } & ({ type: "page_id"; page_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; } | { type: "workspace"; workspace: true; }); title?: Array; description?: Array; is_inline?: boolean; initial_data_source?: import("@notionhq/client/build/src/api-endpoints").InitialDataSourceRequest; icon?: import("@notionhq/client/build/src/api-endpoints").PageIconRequest; cover?: import("@notionhq/client/build/src/api-endpoints").PageCoverRequest; } & { auth?: string; }) => Promise, never, import("@notionhq/client").CreateDatabaseResponse>; /** Retrieves a Notion database container. */ export declare const getNotionDatabase: import("..").NotionDefinedAction<(args: { database_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; } & { auth?: string; }) => Promise, never, import("@notionhq/client").GetDatabaseResponse>; /** Updates a Notion database container. */ export declare const updateNotionDatabase: import("..").NotionDefinedAction<(args: { database_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; } & { parent?: { type: "page_id" | "workspace"; } & ({ type: "page_id"; page_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; } | { type: "workspace"; workspace: true; }); title?: Array; description?: Array; is_inline?: boolean; icon?: import("@notionhq/client/build/src/api-endpoints").PageIconRequest; cover?: import("@notionhq/client/build/src/api-endpoints").PageCoverRequest; in_trash?: boolean; archived?: boolean; is_locked?: boolean; } & { auth?: string; }) => Promise, never, import("@notionhq/client").UpdateDatabaseResponse>; /** Creates a data source beneath a Notion database. */ export declare const createNotionDataSource: import("..").NotionDefinedAction<(args: { parent: import("@notionhq/client/build/src/api-endpoints").ParentOfDataSourceRequest; properties: Record; title?: Array; icon?: import("@notionhq/client/build/src/api-endpoints").PageIconRequest | null; } & { auth?: string; }) => Promise, never, import("@notionhq/client").CreateDataSourceResponse>; /** Retrieves a Notion data source. */ export declare const getNotionDataSource: import("..").NotionDefinedAction<(args: { data_source_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; } & { auth?: string; }) => Promise, never, import("@notionhq/client").GetDataSourceResponse>; /** Lists page templates available for a Notion data source. */ export declare const listNotionDataSourceTemplates: import("..").NotionDefinedAction<(args: { data_source_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; } & { name?: string; start_cursor?: string | null; page_size?: number; } & { auth?: string; }) => Promise, never, import("@notionhq/client/build/src/api-endpoints").ListDataSourceTemplatesResponse>; /** Queries pages from a Notion data source. */ export declare const queryNotionDataSource: import("..").NotionDefinedAction<(args: { data_source_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; } & { filter_properties?: Array; } & { sorts?: Array<{ property: string; direction: "ascending" | "descending"; } | { timestamp: "created_time" | "last_edited_time"; direction: "ascending" | "descending"; }>; filter?: { or: import("@notionhq/client/build/src/api-endpoints").GroupFilterOperatorArray; } | { and: import("@notionhq/client/build/src/api-endpoints").GroupFilterOperatorArray; } | import("@notionhq/client/build/src/api-endpoints").PropertyFilter | import("@notionhq/client/build/src/api-endpoints").TimestampFilter; start_cursor?: string | null; page_size?: number; in_trash?: boolean; archived?: boolean; result_type?: "page" | "data_source"; } & { auth?: string; }) => Promise, "archived", import("@notionhq/client").QueryDataSourceResponse>; /** Updates a Notion data source. */ export declare const updateNotionDataSource: import("..").NotionDefinedAction<(args: { data_source_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; } & { title?: Array; icon?: import("@notionhq/client/build/src/api-endpoints").PageIconRequest | null; properties?: Record; }; } | { type?: "multi_select"; multi_select: { options?: Array<{ color?: import("@notionhq/client/build/src/api-endpoints").SelectColor; description?: string | null; } & ({ name: string; id?: string; } | { id: string; name?: string; })>; }; } | { type?: "status"; status: import("@notionhq/client/build/src/api-endpoints").StatusPropertyConfigUpdateRequest; } | { type?: "relation"; relation: { data_source_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; } & ({ type?: "single_property"; single_property: import("@notionhq/client/build/src/api-endpoints").EmptyObject; } | { type?: "dual_property"; dual_property: { synced_property_id?: string; synced_property_name?: string; }; }); } | { type?: "rollup"; rollup: { function: import("@notionhq/client/build/src/api-endpoints").RollupFunction; } & ({ relation_property_name: string; rollup_property_name: string; } | { relation_property_id: string; rollup_property_name: string; } | { relation_property_name: string; rollup_property_id: string; } | { relation_property_id: string; rollup_property_id: string; }); } | { type?: "unique_id"; unique_id: { prefix?: string | null; }; } | { type?: "title"; title: import("@notionhq/client/build/src/api-endpoints").EmptyObject; } | { type?: "rich_text"; rich_text: import("@notionhq/client/build/src/api-endpoints").EmptyObject; } | { type?: "url"; url: import("@notionhq/client/build/src/api-endpoints").EmptyObject; } | { type?: "people"; people: import("@notionhq/client/build/src/api-endpoints").EmptyObject; } | { type?: "files"; files: import("@notionhq/client/build/src/api-endpoints").EmptyObject; } | { type?: "email"; email: import("@notionhq/client/build/src/api-endpoints").EmptyObject; } | { type?: "phone_number"; phone_number: import("@notionhq/client/build/src/api-endpoints").EmptyObject; } | { type?: "date"; date: import("@notionhq/client/build/src/api-endpoints").EmptyObject; } | { type?: "checkbox"; checkbox: import("@notionhq/client/build/src/api-endpoints").EmptyObject; } | { type?: "created_by"; created_by: import("@notionhq/client/build/src/api-endpoints").EmptyObject; } | { type?: "created_time"; created_time: import("@notionhq/client/build/src/api-endpoints").EmptyObject; } | { type?: "last_edited_by"; last_edited_by: import("@notionhq/client/build/src/api-endpoints").EmptyObject; } | { type?: "last_edited_time"; last_edited_time: import("@notionhq/client/build/src/api-endpoints").EmptyObject; } | { type?: "place"; place: import("@notionhq/client/build/src/api-endpoints").EmptyObject; })) | { name: string; } | null>; in_trash?: boolean; archived?: boolean; parent?: import("@notionhq/client/build/src/api-endpoints").ParentOfDataSourceRequest; } & { auth?: string; }) => Promise, "archived", import("@notionhq/client").UpdateDataSourceResponse>; /** Creates a page or discussion comment in Notion. */ export declare const createNotionComment: import("..").NotionDefinedAction<(args: ({ attachments?: Array<{ file_upload_id: string; type?: "file_upload"; }>; display_name?: { type: "integration"; } | { type: "user"; } | { type: "custom"; custom: { name: string; }; }; } & ({ parent: { page_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; type?: "page_id"; } | { block_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; type?: "block_id"; }; rich_text: Array; } | { parent: { page_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; type?: "page_id"; } | { block_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; type?: "block_id"; }; markdown: string; } | { discussion_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; rich_text: Array; } | { discussion_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; markdown: string; })) & { auth?: string; }) => Promise, never, import("@notionhq/client").CreateCommentResponse>; /** Updates the text of a Notion comment. */ export declare const updateNotionComment: import("..").NotionDefinedAction<(args: import("@notionhq/client").UpdateCommentParameters & { auth?: string; }) => Promise, never, import("@notionhq/client").UpdateCommentResponse>; /** Deletes a Notion comment. */ export declare const deleteNotionComment: import("..").NotionDefinedAction<(args: { comment_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; } & { auth?: string; }) => Promise, never, import("@notionhq/client").DeleteCommentResponse>; /** Retrieves a Notion comment. */ export declare const getNotionComment: import("..").NotionDefinedAction<(args: { comment_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; } & { auth?: string; }) => Promise, never, import("@notionhq/client").GetCommentResponse>; /** Lists comments associated with a Notion block or page. */ export declare const listNotionComments: import("..").NotionDefinedAction<(args: { block_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; start_cursor?: string | null; page_size?: number; } & { auth?: string; }) => Promise, never, import("@notionhq/client").ListCommentsResponse>; /** Creates a Notion database view. */ export declare const createNotionView: import("..").NotionDefinedAction<(args: import("@notionhq/client/build/src/api-endpoints").CreateViewRequest & { auth?: string; }) => Promise, never, import("@notionhq/client").CreateViewResponse>; /** Retrieves a Notion view. */ export declare const getNotionView: import("..").NotionDefinedAction<(args: { view_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; } & { auth?: string; }) => Promise, never, import("@notionhq/client").GetViewResponse>; /** Lists the views in a Notion database or data source. */ export declare const listNotionViews: import("..").NotionDefinedAction<(args: { database_id?: import("@notionhq/client/build/src/api-endpoints").IdRequest; data_source_id?: import("@notionhq/client/build/src/api-endpoints").IdRequest; start_cursor?: string | null; page_size?: number; } & { auth?: string; }) => Promise, never, import("@notionhq/client").ListDatabaseViewsResponse>; /** Creates a materialized query for a Notion view. */ export declare const createNotionViewQuery: import("..").NotionDefinedAction<(args: { view_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; } & import("@notionhq/client/build/src/api-endpoints").CreateViewQueryRequest & { auth?: string; }) => Promise, never, import("@notionhq/client").ViewQueryResponse>; /** Retrieves a page of results for a Notion view query. */ export declare const getNotionViewQueryResults: import("..").NotionDefinedAction<(args: { view_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; query_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; } & { start_cursor?: string | null; page_size?: number; } & { auth?: string; }) => Promise, never, import("@notionhq/client").GetViewQueryResultsResponse>; /** Deletes a Notion view query. */ export declare const deleteNotionViewQuery: import("..").NotionDefinedAction<(args: { view_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; query_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; } & { auth?: string; }) => Promise, never, import("@notionhq/client").DeletedViewQueryResponse>; /** Updates a Notion view. */ export declare const updateNotionView: import("..").NotionDefinedAction<(args: { view_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; } & import("@notionhq/client/build/src/api-endpoints").UpdateViewRequest & { auth?: string; }) => Promise, never, import("@notionhq/client").UpdateViewResponse>; /** Deletes a Notion view. */ export declare const deleteNotionView: import("..").NotionDefinedAction<(args: { view_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; } & { auth?: string; }) => Promise, never, import("@notionhq/client").PartialDataSourceViewObjectResponse>; //# sourceMappingURL=data.d.ts.map