/** Queries Notion agents available to the connected workspace. */ export declare const queryNotionAgents: import("..").NotionDefinedAction<(args: { query?: string; filter?: { property: "id"; id: { equals: string; }; } | { property: "agent_type"; string: { equals: "notion_ai" | "custom_agent" | "autofill_custom_agent"; }; } | { property: "created_by"; people: { contains: string; }; } | { property: "created_time"; date: { after?: string; before?: string; }; } | { property: "favorited"; checkbox: { equals: boolean; }; } | { property: "connections"; mcp_server: { contains: string; }; } | { property: "status"; status: { in: Array<"active" | "disabled" | "deleted">; }; } | { property: "model_mode"; select: { equals: "auto" | "pinned"; }; } | { property: "agent_version"; number: { equals: number; }; } | { property: "last_run_at"; date: { after?: string; before?: string; }; } | { and: Array<{ property: "id"; id: { equals: string; }; } | { property: "agent_type"; string: { equals: "notion_ai" | "custom_agent" | "autofill_custom_agent"; }; } | { property: "created_by"; people: { contains: string; }; } | { property: "created_time"; date: { after?: string; before?: string; }; } | { property: "favorited"; checkbox: { equals: boolean; }; } | { property: "connections"; mcp_server: { contains: string; }; } | { property: "status"; status: { in: Array<"active" | "disabled" | "deleted">; }; } | { property: "model_mode"; select: { equals: "auto" | "pinned"; }; } | { property: "agent_version"; number: { equals: number; }; } | { property: "last_run_at"; date: { after?: string; before?: string; }; } | { and: Array<{ property: "id"; id: { equals: string; }; } | { property: "agent_type"; string: { equals: "notion_ai" | "custom_agent" | "autofill_custom_agent"; }; } | { property: "created_by"; people: { contains: string; }; } | { property: "created_time"; date: { after?: string; before?: string; }; } | { property: "favorited"; checkbox: { equals: boolean; }; } | { property: "connections"; mcp_server: { contains: string; }; } | { property: "status"; status: { in: Array<"active" | "disabled" | "deleted">; }; } | { property: "model_mode"; select: { equals: "auto" | "pinned"; }; } | { property: "agent_version"; number: { equals: number; }; } | { property: "last_run_at"; date: { after?: string; before?: string; }; }>; } | { or: Array<{ property: "id"; id: { equals: string; }; } | { property: "agent_type"; string: { equals: "notion_ai" | "custom_agent" | "autofill_custom_agent"; }; } | { property: "created_by"; people: { contains: string; }; } | { property: "created_time"; date: { after?: string; before?: string; }; } | { property: "favorited"; checkbox: { equals: boolean; }; } | { property: "connections"; mcp_server: { contains: string; }; } | { property: "status"; status: { in: Array<"active" | "disabled" | "deleted">; }; } | { property: "model_mode"; select: { equals: "auto" | "pinned"; }; } | { property: "agent_version"; number: { equals: number; }; } | { property: "last_run_at"; date: { after?: string; before?: string; }; }>; }>; } | { or: Array<{ property: "id"; id: { equals: string; }; } | { property: "agent_type"; string: { equals: "notion_ai" | "custom_agent" | "autofill_custom_agent"; }; } | { property: "created_by"; people: { contains: string; }; } | { property: "created_time"; date: { after?: string; before?: string; }; } | { property: "favorited"; checkbox: { equals: boolean; }; } | { property: "connections"; mcp_server: { contains: string; }; } | { property: "status"; status: { in: Array<"active" | "disabled" | "deleted">; }; } | { property: "model_mode"; select: { equals: "auto" | "pinned"; }; } | { property: "agent_version"; number: { equals: number; }; } | { property: "last_run_at"; date: { after?: string; before?: string; }; } | { and: Array<{ property: "id"; id: { equals: string; }; } | { property: "agent_type"; string: { equals: "notion_ai" | "custom_agent" | "autofill_custom_agent"; }; } | { property: "created_by"; people: { contains: string; }; } | { property: "created_time"; date: { after?: string; before?: string; }; } | { property: "favorited"; checkbox: { equals: boolean; }; } | { property: "connections"; mcp_server: { contains: string; }; } | { property: "status"; status: { in: Array<"active" | "disabled" | "deleted">; }; } | { property: "model_mode"; select: { equals: "auto" | "pinned"; }; } | { property: "agent_version"; number: { equals: number; }; } | { property: "last_run_at"; date: { after?: string; before?: string; }; }>; } | { or: Array<{ property: "id"; id: { equals: string; }; } | { property: "agent_type"; string: { equals: "notion_ai" | "custom_agent" | "autofill_custom_agent"; }; } | { property: "created_by"; people: { contains: string; }; } | { property: "created_time"; date: { after?: string; before?: string; }; } | { property: "favorited"; checkbox: { equals: boolean; }; } | { property: "connections"; mcp_server: { contains: string; }; } | { property: "status"; status: { in: Array<"active" | "disabled" | "deleted">; }; } | { property: "model_mode"; select: { equals: "auto" | "pinned"; }; } | { property: "agent_version"; number: { equals: number; }; } | { property: "last_run_at"; date: { after?: string; before?: string; }; }>; }>; }; sorts?: Array<{ property: "created_time" | "last_run_at"; direction: "ascending" | "descending"; }>; start_cursor?: string | null; page_size?: number; verbose?: boolean; include_deleted?: boolean; } & { auth?: string; }) => Promise, never, import("@notionhq/client").QueryAgentsResponse>; /** Retrieves a Notion agent. */ export declare const getNotionAgent: import("..").NotionDefinedAction<(args: { agent_id: import("@notionhq/client/build/src/api-endpoints").IdRequest | "notion_ai" | "33333333-3333-3333-3333-333333333333"; } & { verbose?: boolean; } & { auth?: string; }) => Promise, never, import("@notionhq/client").GetAgentResponse>; /** Retrieves usage insights for a Notion agent. */ export declare const getNotionAgentInsights: import("..").NotionDefinedAction<(args: { agent_id: import("@notionhq/client/build/src/api-endpoints").IdRequest | "notion_ai" | "33333333-3333-3333-3333-333333333333"; } & { start_time?: number; end_time?: number; } & { auth?: string; }) => Promise, never, import("@notionhq/client").GetInsightsResponse>; /** Enables or disables a Notion agent. */ export declare const updateNotionAgentStatus: import("..").NotionDefinedAction<(args: { agent_id: import("@notionhq/client/build/src/api-endpoints").IdRequest | "notion_ai" | "33333333-3333-3333-3333-333333333333"; } & { status: "active" | "disabled"; } & { auth?: string; }) => Promise, never, import("@notionhq/client").UpdateAgentStatusResponse>; /** Updates a Notion agent's credit limit. */ export declare const updateNotionAgentCreditLimit: import("..").NotionDefinedAction<(args: { agent_id: import("@notionhq/client/build/src/api-endpoints").IdRequest | "notion_ai" | "33333333-3333-3333-3333-333333333333"; } & { credit_limit: number | null; } & { auth?: string; }) => Promise, never, import("@notionhq/client").UpdateAgentCreditLimitResponse>; /** Deletes a Notion agent. */ export declare const deleteNotionAgent: import("..").NotionDefinedAction<(args: { agent_id: import("@notionhq/client/build/src/api-endpoints").IdRequest | "notion_ai" | "33333333-3333-3333-3333-333333333333"; } & { auth?: string; }) => Promise, never, import("@notionhq/client").DeleteAgentResponse>; /** Applies multiple status, credit, or delete operations to Notion agents. */ export declare const batchManageNotionAgents: import("..").NotionDefinedAction<(args: { operations: Array<{ action: "update_status"; agent_id: import("@notionhq/client/build/src/api-endpoints").IdRequest | "notion_ai" | "33333333-3333-3333-3333-333333333333"; fields: { status: "active" | "disabled"; }; } | { action: "update_credit_limit"; agent_id: import("@notionhq/client/build/src/api-endpoints").IdRequest | "notion_ai" | "33333333-3333-3333-3333-333333333333"; fields: { credit_limit: number | null; }; } | { action: "delete"; agent_id: import("@notionhq/client/build/src/api-endpoints").IdRequest | "notion_ai" | "33333333-3333-3333-3333-333333333333"; }>; } & { auth?: string; }) => Promise, never, import("@notionhq/client").AgentBatchResponse>; /** Starts a Notion agent session or adds input to an existing session. */ export declare const createOrUpdateNotionSession: import("..").NotionDefinedAction<(args: ({ message: string; agent_id?: import("@notionhq/client/build/src/api-endpoints").IdRequest | "notion_ai" | "33333333-3333-3333-3333-333333333333"; session_id?: import("@notionhq/client/build/src/api-endpoints").IdRequest; attachments?: Array<{ file_upload: { id: string; }; type?: "file_upload"; name?: string; }>; metadata?: Record; prompt_context?: string; } | { session_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; actions: Array<{ action_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; option_id: "approve" | "reject"; }>; metadata?: Record; } | { session_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; continue_from: string; }) & { auth?: string; }) => Promise, never, import("@notionhq/client").UpdateSessionResponse>; /** Retrieves a Notion agent session. */ export declare const getNotionSession: import("..").NotionDefinedAction<(args: { session_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; } & { auth?: string; }) => Promise, never, import("@notionhq/client").RetrieveSessionResponse>; /** Queries Notion agent sessions. */ export declare const queryNotionSessions: import("..").NotionDefinedAction<(args: { query?: string; filter?: { property: "id"; string: { equals: string; }; } | { property: "agent_id"; string: { equals: string; }; } | { property: "status"; status: { equals?: "queued" | "in_progress" | "requires_action" | "completed" | "failed" | "canceled" | "terminated"; in?: Array<"queued" | "in_progress" | "requires_action" | "completed" | "failed" | "canceled" | "terminated">; }; } | { property: "created_at" | "updated_at"; timestamp: { before?: string; after?: string; on_or_before?: string; on_or_after?: string; }; } | { and: Array<{ property: "id"; string: { equals: string; }; } | { property: "agent_id"; string: { equals: string; }; } | { property: "status"; status: { equals?: "queued" | "in_progress" | "requires_action" | "completed" | "failed" | "canceled" | "terminated"; in?: Array<"queued" | "in_progress" | "requires_action" | "completed" | "failed" | "canceled" | "terminated">; }; } | { property: "created_at" | "updated_at"; timestamp: { before?: string; after?: string; on_or_before?: string; on_or_after?: string; }; } | { and: Array<{ property: "id"; string: { equals: string; }; } | { property: "agent_id"; string: { equals: string; }; } | { property: "status"; status: { equals?: "queued" | "in_progress" | "requires_action" | "completed" | "failed" | "canceled" | "terminated"; in?: Array<"queued" | "in_progress" | "requires_action" | "completed" | "failed" | "canceled" | "terminated">; }; } | { property: "created_at" | "updated_at"; timestamp: { before?: string; after?: string; on_or_before?: string; on_or_after?: string; }; }>; } | { or: Array<{ property: "id"; string: { equals: string; }; } | { property: "agent_id"; string: { equals: string; }; } | { property: "status"; status: { equals?: "queued" | "in_progress" | "requires_action" | "completed" | "failed" | "canceled" | "terminated"; in?: Array<"queued" | "in_progress" | "requires_action" | "completed" | "failed" | "canceled" | "terminated">; }; } | { property: "created_at" | "updated_at"; timestamp: { before?: string; after?: string; on_or_before?: string; on_or_after?: string; }; }>; }>; } | { or: Array<{ property: "id"; string: { equals: string; }; } | { property: "agent_id"; string: { equals: string; }; } | { property: "status"; status: { equals?: "queued" | "in_progress" | "requires_action" | "completed" | "failed" | "canceled" | "terminated"; in?: Array<"queued" | "in_progress" | "requires_action" | "completed" | "failed" | "canceled" | "terminated">; }; } | { property: "created_at" | "updated_at"; timestamp: { before?: string; after?: string; on_or_before?: string; on_or_after?: string; }; } | { and: Array<{ property: "id"; string: { equals: string; }; } | { property: "agent_id"; string: { equals: string; }; } | { property: "status"; status: { equals?: "queued" | "in_progress" | "requires_action" | "completed" | "failed" | "canceled" | "terminated"; in?: Array<"queued" | "in_progress" | "requires_action" | "completed" | "failed" | "canceled" | "terminated">; }; } | { property: "created_at" | "updated_at"; timestamp: { before?: string; after?: string; on_or_before?: string; on_or_after?: string; }; }>; } | { or: Array<{ property: "id"; string: { equals: string; }; } | { property: "agent_id"; string: { equals: string; }; } | { property: "status"; status: { equals?: "queued" | "in_progress" | "requires_action" | "completed" | "failed" | "canceled" | "terminated"; in?: Array<"queued" | "in_progress" | "requires_action" | "completed" | "failed" | "canceled" | "terminated">; }; } | { property: "created_at" | "updated_at"; timestamp: { before?: string; after?: string; on_or_before?: string; on_or_after?: string; }; }>; }>; }; sorts?: Array<{ property: "created_at" | "updated_at"; direction: "ascending" | "descending"; }>; start_cursor?: string | null; page_size?: number; } & { auth?: string; }) => Promise, never, import("@notionhq/client").QuerySessionsResponse>; /** Queries events emitted within a Notion agent session. */ export declare const queryNotionSessionEvents: import("..").NotionDefinedAction<(args: { session_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; } & { filter?: { property: "id"; string: { equals: string; }; } | { property: "type"; event_type: { equals?: "user.message" | "agent.message" | "agent.thinking" | "agent.tool_use" | "agent.tool_result" | "session.status"; in?: Array<"user.message" | "agent.message" | "agent.thinking" | "agent.tool_use" | "agent.tool_result" | "session.status">; }; } | { property: "sequence"; number: { greater_than?: number; greater_than_or_equal_to?: number; less_than?: number; less_than_or_equal_to?: number; }; } | { property: "created_at"; timestamp: { equals?: string; before?: string; after?: string; on_or_before?: string; on_or_after?: string; }; } | { and: Array<{ property: "id"; string: { equals: string; }; } | { property: "type"; event_type: { equals?: "user.message" | "agent.message" | "agent.thinking" | "agent.tool_use" | "agent.tool_result" | "session.status"; in?: Array<"user.message" | "agent.message" | "agent.thinking" | "agent.tool_use" | "agent.tool_result" | "session.status">; }; } | { property: "sequence"; number: { greater_than?: number; greater_than_or_equal_to?: number; less_than?: number; less_than_or_equal_to?: number; }; } | { property: "created_at"; timestamp: { equals?: string; before?: string; after?: string; on_or_before?: string; on_or_after?: string; }; } | { and: Array<{ property: "id"; string: { equals: string; }; } | { property: "type"; event_type: { equals?: "user.message" | "agent.message" | "agent.thinking" | "agent.tool_use" | "agent.tool_result" | "session.status"; in?: Array<"user.message" | "agent.message" | "agent.thinking" | "agent.tool_use" | "agent.tool_result" | "session.status">; }; } | { property: "sequence"; number: { greater_than?: number; greater_than_or_equal_to?: number; less_than?: number; less_than_or_equal_to?: number; }; } | { property: "created_at"; timestamp: { equals?: string; before?: string; after?: string; on_or_before?: string; on_or_after?: string; }; } | { and: Array<{ property: "id"; string: { equals: string; }; } | { property: "type"; event_type: { equals?: "user.message" | "agent.message" | "agent.thinking" | "agent.tool_use" | "agent.tool_result" | "session.status"; in?: Array<"user.message" | "agent.message" | "agent.thinking" | "agent.tool_use" | "agent.tool_result" | "session.status">; }; } | { property: "sequence"; number: { greater_than?: number; greater_than_or_equal_to?: number; less_than?: number; less_than_or_equal_to?: number; }; } | { property: "created_at"; timestamp: { equals?: string; before?: string; after?: string; on_or_before?: string; on_or_after?: string; }; }>; } | { or: Array<{ property: "id"; string: { equals: string; }; } | { property: "type"; event_type: { equals?: "user.message" | "agent.message" | "agent.thinking" | "agent.tool_use" | "agent.tool_result" | "session.status"; in?: Array<"user.message" | "agent.message" | "agent.thinking" | "agent.tool_use" | "agent.tool_result" | "session.status">; }; } | { property: "sequence"; number: { greater_than?: number; greater_than_or_equal_to?: number; less_than?: number; less_than_or_equal_to?: number; }; } | { property: "created_at"; timestamp: { equals?: string; before?: string; after?: string; on_or_before?: string; on_or_after?: string; }; }>; }>; } | { or: Array<{ property: "id"; string: { equals: string; }; } | { property: "type"; event_type: { equals?: "user.message" | "agent.message" | "agent.thinking" | "agent.tool_use" | "agent.tool_result" | "session.status"; in?: Array<"user.message" | "agent.message" | "agent.thinking" | "agent.tool_use" | "agent.tool_result" | "session.status">; }; } | { property: "sequence"; number: { greater_than?: number; greater_than_or_equal_to?: number; less_than?: number; less_than_or_equal_to?: number; }; } | { property: "created_at"; timestamp: { equals?: string; before?: string; after?: string; on_or_before?: string; on_or_after?: string; }; } | { and: Array<{ property: "id"; string: { equals: string; }; } | { property: "type"; event_type: { equals?: "user.message" | "agent.message" | "agent.thinking" | "agent.tool_use" | "agent.tool_result" | "session.status"; in?: Array<"user.message" | "agent.message" | "agent.thinking" | "agent.tool_use" | "agent.tool_result" | "session.status">; }; } | { property: "sequence"; number: { greater_than?: number; greater_than_or_equal_to?: number; less_than?: number; less_than_or_equal_to?: number; }; } | { property: "created_at"; timestamp: { equals?: string; before?: string; after?: string; on_or_before?: string; on_or_after?: string; }; }>; } | { or: Array<{ property: "id"; string: { equals: string; }; } | { property: "type"; event_type: { equals?: "user.message" | "agent.message" | "agent.thinking" | "agent.tool_use" | "agent.tool_result" | "session.status"; in?: Array<"user.message" | "agent.message" | "agent.thinking" | "agent.tool_use" | "agent.tool_result" | "session.status">; }; } | { property: "sequence"; number: { greater_than?: number; greater_than_or_equal_to?: number; less_than?: number; less_than_or_equal_to?: number; }; } | { property: "created_at"; timestamp: { equals?: string; before?: string; after?: string; on_or_before?: string; on_or_after?: string; }; }>; }>; }>; } | { or: Array<{ property: "id"; string: { equals: string; }; } | { property: "type"; event_type: { equals?: "user.message" | "agent.message" | "agent.thinking" | "agent.tool_use" | "agent.tool_result" | "session.status"; in?: Array<"user.message" | "agent.message" | "agent.thinking" | "agent.tool_use" | "agent.tool_result" | "session.status">; }; } | { property: "sequence"; number: { greater_than?: number; greater_than_or_equal_to?: number; less_than?: number; less_than_or_equal_to?: number; }; } | { property: "created_at"; timestamp: { equals?: string; before?: string; after?: string; on_or_before?: string; on_or_after?: string; }; } | { and: Array<{ property: "id"; string: { equals: string; }; } | { property: "type"; event_type: { equals?: "user.message" | "agent.message" | "agent.thinking" | "agent.tool_use" | "agent.tool_result" | "session.status"; in?: Array<"user.message" | "agent.message" | "agent.thinking" | "agent.tool_use" | "agent.tool_result" | "session.status">; }; } | { property: "sequence"; number: { greater_than?: number; greater_than_or_equal_to?: number; less_than?: number; less_than_or_equal_to?: number; }; } | { property: "created_at"; timestamp: { equals?: string; before?: string; after?: string; on_or_before?: string; on_or_after?: string; }; } | { and: Array<{ property: "id"; string: { equals: string; }; } | { property: "type"; event_type: { equals?: "user.message" | "agent.message" | "agent.thinking" | "agent.tool_use" | "agent.tool_result" | "session.status"; in?: Array<"user.message" | "agent.message" | "agent.thinking" | "agent.tool_use" | "agent.tool_result" | "session.status">; }; } | { property: "sequence"; number: { greater_than?: number; greater_than_or_equal_to?: number; less_than?: number; less_than_or_equal_to?: number; }; } | { property: "created_at"; timestamp: { equals?: string; before?: string; after?: string; on_or_before?: string; on_or_after?: string; }; }>; } | { or: Array<{ property: "id"; string: { equals: string; }; } | { property: "type"; event_type: { equals?: "user.message" | "agent.message" | "agent.thinking" | "agent.tool_use" | "agent.tool_result" | "session.status"; in?: Array<"user.message" | "agent.message" | "agent.thinking" | "agent.tool_use" | "agent.tool_result" | "session.status">; }; } | { property: "sequence"; number: { greater_than?: number; greater_than_or_equal_to?: number; less_than?: number; less_than_or_equal_to?: number; }; } | { property: "created_at"; timestamp: { equals?: string; before?: string; after?: string; on_or_before?: string; on_or_after?: string; }; }>; }>; } | { or: Array<{ property: "id"; string: { equals: string; }; } | { property: "type"; event_type: { equals?: "user.message" | "agent.message" | "agent.thinking" | "agent.tool_use" | "agent.tool_result" | "session.status"; in?: Array<"user.message" | "agent.message" | "agent.thinking" | "agent.tool_use" | "agent.tool_result" | "session.status">; }; } | { property: "sequence"; number: { greater_than?: number; greater_than_or_equal_to?: number; less_than?: number; less_than_or_equal_to?: number; }; } | { property: "created_at"; timestamp: { equals?: string; before?: string; after?: string; on_or_before?: string; on_or_after?: string; }; } | { and: Array<{ property: "id"; string: { equals: string; }; } | { property: "type"; event_type: { equals?: "user.message" | "agent.message" | "agent.thinking" | "agent.tool_use" | "agent.tool_result" | "session.status"; in?: Array<"user.message" | "agent.message" | "agent.thinking" | "agent.tool_use" | "agent.tool_result" | "session.status">; }; } | { property: "sequence"; number: { greater_than?: number; greater_than_or_equal_to?: number; less_than?: number; less_than_or_equal_to?: number; }; } | { property: "created_at"; timestamp: { equals?: string; before?: string; after?: string; on_or_before?: string; on_or_after?: string; }; }>; } | { or: Array<{ property: "id"; string: { equals: string; }; } | { property: "type"; event_type: { equals?: "user.message" | "agent.message" | "agent.thinking" | "agent.tool_use" | "agent.tool_result" | "session.status"; in?: Array<"user.message" | "agent.message" | "agent.thinking" | "agent.tool_use" | "agent.tool_result" | "session.status">; }; } | { property: "sequence"; number: { greater_than?: number; greater_than_or_equal_to?: number; less_than?: number; less_than_or_equal_to?: number; }; } | { property: "created_at"; timestamp: { equals?: string; before?: string; after?: string; on_or_before?: string; on_or_after?: string; }; }>; }>; }>; }; sorts?: Array<{ property: "sequence" | "created_at"; direction: "ascending" | "descending"; }>; start_cursor?: string | null; page_size?: number; } & { auth?: string; }) => Promise, never, import("@notionhq/client").QuerySessionEventsResponse>; /** Cancels a running Notion agent session. */ export declare const cancelNotionSession: import("..").NotionDefinedAction<(args: { session_id: import("@notionhq/client/build/src/api-endpoints").IdRequest; } & { event_id?: string; } & { auth?: string; }) => Promise, never, import("@notionhq/client").CancelSessionResponse>; //# sourceMappingURL=agents.d.ts.map