import { ServiceBubble } from '../../../types/service-bubble-class.js'; import type { BubbleContext } from '../../../types/bubble.js'; import { CredentialType } from '@bubblelab/shared-schemas'; import { type ConfluenceParamsInput, type ConfluenceResult } from './confluence.schema.js'; /** * Confluence Service Bubble * * Integration with Confluence Cloud for wiki and content management. * * Operations: * - list_spaces: List spaces with optional filtering * - get_space: Get space details by ID * - list_pages: List pages with filtering (by space, title, status) * - get_page: Get page by ID with body content * - create_page: Create a new page in a space * - update_page: Update page (auto-fetches current version) * - delete_page: Delete/trash a page * - search: Search via CQL (v1 endpoint) * - add_comment: Add footer comment to a page * - get_comments: List footer comments for a page * * Features: * - Markdown content auto-converted to Confluence storage format (XHTML) * - Auto-version management for page updates * - Uses REST API v2 for most operations, v1 for search/labels */ export declare class ConfluenceBubble extends ServiceBubble> { static readonly type: "service"; static readonly service = "confluence"; static readonly authType: "oauth"; static readonly bubbleName = "confluence"; static readonly schema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_spaces">; limit: import("zod").ZodDefault>; cursor: import("zod").ZodOptional; type: import("zod").ZodOptional>; status: import("zod").ZodOptional>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "list_spaces"; limit: number; type?: "global" | "personal" | undefined; status?: "archived" | "current" | undefined; credentials?: Partial> | undefined; cursor?: string | undefined; }, { operation: "list_spaces"; type?: "global" | "personal" | undefined; status?: "archived" | "current" | undefined; credentials?: Partial> | undefined; limit?: number | undefined; cursor?: string | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_space">; space_id: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "get_space"; space_id: string; credentials?: Partial> | undefined; }, { operation: "get_space"; space_id: string; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_pages">; space_id: import("zod").ZodOptional; space_key: import("zod").ZodOptional; title: import("zod").ZodOptional; status: import("zod").ZodOptional>; limit: import("zod").ZodDefault>; cursor: import("zod").ZodOptional; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "list_pages"; limit: number; title?: string | undefined; status?: "draft" | "current" | "trashed" | undefined; credentials?: Partial> | undefined; cursor?: string | undefined; space_id?: string | undefined; space_key?: string | undefined; }, { operation: "list_pages"; title?: string | undefined; status?: "draft" | "current" | "trashed" | undefined; credentials?: Partial> | undefined; limit?: number | undefined; cursor?: string | undefined; space_id?: string | undefined; space_key?: string | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_page">; page_id: import("zod").ZodString; include_body: import("zod").ZodDefault>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "get_page"; page_id: string; include_body: boolean; credentials?: Partial> | undefined; }, { operation: "get_page"; page_id: string; credentials?: Partial> | undefined; include_body?: boolean | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_page">; space_id: import("zod").ZodOptional; space_key: import("zod").ZodOptional; title: import("zod").ZodString; body: import("zod").ZodOptional; parent_id: import("zod").ZodOptional; status: import("zod").ZodDefault>>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { title: string; status: "draft" | "current"; operation: "create_page"; credentials?: Partial> | undefined; body?: string | undefined; parent_id?: string | undefined; space_id?: string | undefined; space_key?: string | undefined; }, { title: string; operation: "create_page"; status?: "draft" | "current" | undefined; credentials?: Partial> | undefined; body?: string | undefined; parent_id?: string | undefined; space_id?: string | undefined; space_key?: string | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"update_page">; page_id: import("zod").ZodString; title: import("zod").ZodOptional; body: import("zod").ZodOptional; status: import("zod").ZodOptional>; version_message: import("zod").ZodOptional; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "update_page"; page_id: string; title?: string | undefined; status?: "draft" | "current" | undefined; credentials?: Partial> | undefined; body?: string | undefined; version_message?: string | undefined; }, { operation: "update_page"; page_id: string; title?: string | undefined; status?: "draft" | "current" | undefined; credentials?: Partial> | undefined; body?: string | undefined; version_message?: string | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"delete_page">; page_id: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "delete_page"; page_id: string; credentials?: Partial> | undefined; }, { operation: "delete_page"; page_id: string; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"search">; cql: import("zod").ZodString; limit: import("zod").ZodDefault>; start: import("zod").ZodDefault>; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { start: number; operation: "search"; limit: number; cql: string; credentials?: Partial> | undefined; }, { operation: "search"; cql: string; credentials?: Partial> | undefined; start?: number | undefined; limit?: number | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"add_comment">; page_id: import("zod").ZodString; body: import("zod").ZodString; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "add_comment"; body: string; page_id: string; credentials?: Partial> | undefined; }, { operation: "add_comment"; body: string; page_id: string; credentials?: Partial> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_comments">; page_id: import("zod").ZodString; limit: import("zod").ZodDefault>; cursor: import("zod").ZodOptional; credentials: import("zod").ZodOptional, import("zod").ZodString>>; }, "strip", import("zod").ZodTypeAny, { operation: "get_comments"; limit: number; page_id: string; credentials?: Partial> | undefined; cursor?: string | undefined; }, { operation: "get_comments"; page_id: string; credentials?: Partial> | undefined; limit?: number | undefined; cursor?: string | undefined; }>]>; static readonly resultSchema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_spaces">; success: import("zod").ZodBoolean; spaces: import("zod").ZodOptional; status: import("zod").ZodOptional; description: import("zod").ZodOptional; homepageId: import("zod").ZodOptional>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodString; key: import("zod").ZodString; name: import("zod").ZodString; type: import("zod").ZodOptional; status: import("zod").ZodOptional; description: import("zod").ZodOptional; homepageId: import("zod").ZodOptional>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodString; key: import("zod").ZodString; name: import("zod").ZodString; type: import("zod").ZodOptional; status: import("zod").ZodOptional; description: import("zod").ZodOptional; homepageId: import("zod").ZodOptional>; }, import("zod").ZodTypeAny, "passthrough">>, "many">>; cursor: import("zod").ZodOptional; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "list_spaces"; cursor?: string | undefined; spaces?: import("zod").objectOutputType<{ id: import("zod").ZodString; key: import("zod").ZodString; name: import("zod").ZodString; type: import("zod").ZodOptional; status: import("zod").ZodOptional; description: import("zod").ZodOptional; homepageId: import("zod").ZodOptional>; }, import("zod").ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "list_spaces"; cursor?: string | undefined; spaces?: import("zod").objectInputType<{ id: import("zod").ZodString; key: import("zod").ZodString; name: import("zod").ZodString; type: import("zod").ZodOptional; status: import("zod").ZodOptional; description: import("zod").ZodOptional; homepageId: import("zod").ZodOptional>; }, import("zod").ZodTypeAny, "passthrough">[] | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_space">; success: import("zod").ZodBoolean; space: import("zod").ZodOptional; status: import("zod").ZodOptional; description: import("zod").ZodOptional; homepageId: import("zod").ZodOptional>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodString; key: import("zod").ZodString; name: import("zod").ZodString; type: import("zod").ZodOptional; status: import("zod").ZodOptional; description: import("zod").ZodOptional; homepageId: import("zod").ZodOptional>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodString; key: import("zod").ZodString; name: import("zod").ZodString; type: import("zod").ZodOptional; status: import("zod").ZodOptional; description: import("zod").ZodOptional; homepageId: import("zod").ZodOptional>; }, import("zod").ZodTypeAny, "passthrough">>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "get_space"; space?: import("zod").objectOutputType<{ id: import("zod").ZodString; key: import("zod").ZodString; name: import("zod").ZodString; type: import("zod").ZodOptional; status: import("zod").ZodOptional; description: import("zod").ZodOptional; homepageId: import("zod").ZodOptional>; }, import("zod").ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "get_space"; space?: import("zod").objectInputType<{ id: import("zod").ZodString; key: import("zod").ZodString; name: import("zod").ZodString; type: import("zod").ZodOptional; status: import("zod").ZodOptional; description: import("zod").ZodOptional; homepageId: import("zod").ZodOptional>; }, import("zod").ZodTypeAny, "passthrough"> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"list_pages">; success: import("zod").ZodBoolean; pages: import("zod").ZodOptional; spaceId: import("zod").ZodOptional; parentId: import("zod").ZodOptional>; parentType: import("zod").ZodOptional>; authorId: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; version: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; body: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodString; title: import("zod").ZodString; status: import("zod").ZodOptional; spaceId: import("zod").ZodOptional; parentId: import("zod").ZodOptional>; parentType: import("zod").ZodOptional>; authorId: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; version: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; body: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodString; title: import("zod").ZodString; status: import("zod").ZodOptional; spaceId: import("zod").ZodOptional; parentId: import("zod").ZodOptional>; parentType: import("zod").ZodOptional>; authorId: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; version: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; body: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">>, "many">>; cursor: import("zod").ZodOptional; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "list_pages"; cursor?: string | undefined; pages?: import("zod").objectOutputType<{ id: import("zod").ZodString; title: import("zod").ZodString; status: import("zod").ZodOptional; spaceId: import("zod").ZodOptional; parentId: import("zod").ZodOptional>; parentType: import("zod").ZodOptional>; authorId: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; version: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; body: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "list_pages"; cursor?: string | undefined; pages?: import("zod").objectInputType<{ id: import("zod").ZodString; title: import("zod").ZodString; status: import("zod").ZodOptional; spaceId: import("zod").ZodOptional; parentId: import("zod").ZodOptional>; parentType: import("zod").ZodOptional>; authorId: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; version: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; body: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">[] | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_page">; success: import("zod").ZodBoolean; page: import("zod").ZodOptional; spaceId: import("zod").ZodOptional; parentId: import("zod").ZodOptional>; parentType: import("zod").ZodOptional>; authorId: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; version: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; body: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodString; title: import("zod").ZodString; status: import("zod").ZodOptional; spaceId: import("zod").ZodOptional; parentId: import("zod").ZodOptional>; parentType: import("zod").ZodOptional>; authorId: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; version: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; body: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodString; title: import("zod").ZodString; status: import("zod").ZodOptional; spaceId: import("zod").ZodOptional; parentId: import("zod").ZodOptional>; parentType: import("zod").ZodOptional>; authorId: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; version: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; body: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "get_page"; page?: import("zod").objectOutputType<{ id: import("zod").ZodString; title: import("zod").ZodString; status: import("zod").ZodOptional; spaceId: import("zod").ZodOptional; parentId: import("zod").ZodOptional>; parentType: import("zod").ZodOptional>; authorId: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; version: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; body: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "get_page"; page?: import("zod").objectInputType<{ id: import("zod").ZodString; title: import("zod").ZodString; status: import("zod").ZodOptional; spaceId: import("zod").ZodOptional; parentId: import("zod").ZodOptional>; parentType: import("zod").ZodOptional>; authorId: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; version: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; message: import("zod").ZodOptional; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; body: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough"> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"create_page">; success: import("zod").ZodBoolean; page: import("zod").ZodOptional; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; status?: string | undefined; _links?: import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough"> | undefined; }, { title: string; id: string; status?: string | undefined; _links?: import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough"> | undefined; }>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "create_page"; page?: { title: string; id: string; status?: string | undefined; _links?: import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough"> | undefined; } | undefined; }, { error: string; success: boolean; operation: "create_page"; page?: { title: string; id: string; status?: string | undefined; _links?: import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough"> | undefined; } | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"update_page">; success: import("zod").ZodBoolean; page: import("zod").ZodOptional, import("zod").objectInputType<{ number: import("zod").ZodNumber; }, import("zod").ZodTypeAny, "passthrough">>>; }, "strip", import("zod").ZodTypeAny, { title: string; id: string; version?: import("zod").objectOutputType<{ number: import("zod").ZodNumber; }, import("zod").ZodTypeAny, "passthrough"> | undefined; }, { title: string; id: string; version?: import("zod").objectInputType<{ number: import("zod").ZodNumber; }, import("zod").ZodTypeAny, "passthrough"> | undefined; }>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "update_page"; page?: { title: string; id: string; version?: import("zod").objectOutputType<{ number: import("zod").ZodNumber; }, import("zod").ZodTypeAny, "passthrough"> | undefined; } | undefined; }, { error: string; success: boolean; operation: "update_page"; page?: { title: string; id: string; version?: import("zod").objectInputType<{ number: import("zod").ZodNumber; }, import("zod").ZodTypeAny, "passthrough"> | undefined; } | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"delete_page">; success: import("zod").ZodBoolean; page_id: import("zod").ZodOptional; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "delete_page"; page_id?: string | undefined; }, { error: string; success: boolean; operation: "delete_page"; page_id?: string | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"search">; success: import("zod").ZodBoolean; results: import("zod").ZodOptional; type: import("zod").ZodOptional; title: import("zod").ZodOptional; status: import("zod").ZodOptional; excerpt: import("zod").ZodOptional; url: import("zod").ZodOptional; lastModified: import("zod").ZodOptional; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; content: import("zod").ZodOptional; type: import("zod").ZodOptional; title: import("zod").ZodOptional; status: import("zod").ZodOptional; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodOptional; type: import("zod").ZodOptional; title: import("zod").ZodOptional; status: import("zod").ZodOptional; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodOptional; type: import("zod").ZodOptional; title: import("zod").ZodOptional; status: import("zod").ZodOptional; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodOptional; type: import("zod").ZodOptional; title: import("zod").ZodOptional; status: import("zod").ZodOptional; excerpt: import("zod").ZodOptional; url: import("zod").ZodOptional; lastModified: import("zod").ZodOptional; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; content: import("zod").ZodOptional; type: import("zod").ZodOptional; title: import("zod").ZodOptional; status: import("zod").ZodOptional; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodOptional; type: import("zod").ZodOptional; title: import("zod").ZodOptional; status: import("zod").ZodOptional; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodOptional; type: import("zod").ZodOptional; title: import("zod").ZodOptional; status: import("zod").ZodOptional; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodOptional; type: import("zod").ZodOptional; title: import("zod").ZodOptional; status: import("zod").ZodOptional; excerpt: import("zod").ZodOptional; url: import("zod").ZodOptional; lastModified: import("zod").ZodOptional; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; content: import("zod").ZodOptional; type: import("zod").ZodOptional; title: import("zod").ZodOptional; status: import("zod").ZodOptional; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodOptional; type: import("zod").ZodOptional; title: import("zod").ZodOptional; status: import("zod").ZodOptional; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodOptional; type: import("zod").ZodOptional; title: import("zod").ZodOptional; status: import("zod").ZodOptional; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">>, "many">>; total: import("zod").ZodOptional; start: import("zod").ZodOptional; limit: import("zod").ZodOptional; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "search"; start?: number | undefined; limit?: number | undefined; total?: number | undefined; results?: import("zod").objectOutputType<{ id: import("zod").ZodOptional; type: import("zod").ZodOptional; title: import("zod").ZodOptional; status: import("zod").ZodOptional; excerpt: import("zod").ZodOptional; url: import("zod").ZodOptional; lastModified: import("zod").ZodOptional; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; content: import("zod").ZodOptional; type: import("zod").ZodOptional; title: import("zod").ZodOptional; status: import("zod").ZodOptional; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodOptional; type: import("zod").ZodOptional; title: import("zod").ZodOptional; status: import("zod").ZodOptional; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodOptional; type: import("zod").ZodOptional; title: import("zod").ZodOptional; status: import("zod").ZodOptional; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "search"; start?: number | undefined; limit?: number | undefined; total?: number | undefined; results?: import("zod").objectInputType<{ id: import("zod").ZodOptional; type: import("zod").ZodOptional; title: import("zod").ZodOptional; status: import("zod").ZodOptional; excerpt: import("zod").ZodOptional; url: import("zod").ZodOptional; lastModified: import("zod").ZodOptional; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; content: import("zod").ZodOptional; type: import("zod").ZodOptional; title: import("zod").ZodOptional; status: import("zod").ZodOptional; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodOptional; type: import("zod").ZodOptional; title: import("zod").ZodOptional; status: import("zod").ZodOptional; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodOptional; type: import("zod").ZodOptional; title: import("zod").ZodOptional; status: import("zod").ZodOptional; _links: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ webui: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">>>; }, import("zod").ZodTypeAny, "passthrough">[] | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"add_comment">; success: import("zod").ZodBoolean; comment: import("zod").ZodOptional; body: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; version: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; createdAt: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodString; title: import("zod").ZodOptional; body: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; version: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodString; title: import("zod").ZodOptional; body: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; version: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "add_comment"; comment?: import("zod").objectOutputType<{ id: import("zod").ZodString; title: import("zod").ZodOptional; body: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; version: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough"> | undefined; }, { error: string; success: boolean; operation: "add_comment"; comment?: import("zod").objectInputType<{ id: import("zod").ZodString; title: import("zod").ZodOptional; body: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; version: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough"> | undefined; }>, import("zod").ZodObject<{ operation: import("zod").ZodLiteral<"get_comments">; success: import("zod").ZodBoolean; comments: import("zod").ZodOptional; body: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; version: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; createdAt: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ id: import("zod").ZodString; title: import("zod").ZodOptional; body: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; version: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ id: import("zod").ZodString; title: import("zod").ZodOptional; body: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; version: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>, "many">>; cursor: import("zod").ZodOptional; error: import("zod").ZodString; }, "strip", import("zod").ZodTypeAny, { error: string; success: boolean; operation: "get_comments"; cursor?: string | undefined; comments?: import("zod").objectOutputType<{ id: import("zod").ZodString; title: import("zod").ZodOptional; body: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; version: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">[] | undefined; }, { error: string; success: boolean; operation: "get_comments"; cursor?: string | undefined; comments?: import("zod").objectInputType<{ id: import("zod").ZodString; title: import("zod").ZodOptional; body: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ storage: import("zod").ZodOptional; }, "strip", import("zod").ZodTypeAny, { value: string; representation?: string | undefined; }, { value: string; representation?: string | undefined; }>>; }, import("zod").ZodTypeAny, "passthrough">>>; version: import("zod").ZodOptional; }, "passthrough", import("zod").ZodTypeAny, import("zod").objectOutputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">, import("zod").objectInputType<{ number: import("zod").ZodNumber; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">>>; createdAt: import("zod").ZodOptional; }, import("zod").ZodTypeAny, "passthrough">[] | undefined; }>]>; static readonly shortDescription = "Confluence integration for wiki pages and content management"; static readonly longDescription = "\n Confluence Cloud integration for managing wiki content, spaces, and pages.\n\n Operations:\n - list_spaces: List Confluence spaces with filtering\n - get_space: Get space details by ID\n - list_pages: List pages (filter by space, title, status)\n - get_page: Get page by ID with body content\n - create_page: Create a new page in a space\n - update_page: Update page content (auto-increments version)\n - delete_page: Delete/trash a page\n - search: Search via CQL (Confluence Query Language)\n - add_comment: Add footer comment to a page\n - get_comments: List footer comments for a page\n\n Features:\n - Markdown content auto-converted to Confluence storage format (XHTML)\n - Auto-version management for page updates\n - CQL search support for powerful content discovery\n\n Authentication:\n - OAuth 2.0 via Atlassian Cloud (same provider as Jira)\n "; static readonly alias = "confluence"; constructor(params: T, context?: BubbleContext); testCredential(): Promise; /** * Parse Confluence credentials: base64-encoded JSON { accessToken, cloudId, siteUrl } * Same format as Jira since both use Atlassian Cloud OAuth. */ private parseCredentials; /** * Resolve a space_key to a space_id via the Confluence API. */ private resolveSpaceKey; /** * Get the space_id from params, resolving space_key if needed. */ private getSpaceId; /** * Make a request to the Confluence REST API v2. */ private makeConfluenceApiRequest; /** * Make a request to the Confluence REST API v1 (used for search and labels). */ private makeConfluenceV1ApiRequest; protected performAction(context?: BubbleContext): Promise>; private listSpaces; private getSpace; private listPages; private getPage; private createPage; private updatePage; private deletePage; private search; private addComment; private getComments; protected chooseCredential(): string | undefined; } //# sourceMappingURL=confluence.d.ts.map