import { z } from "zod"; import { ConfluenceClient } from "../confluence-client.js"; export type ToolResult = { content: Array<{ type: "text"; text: string; }>; }; export declare function jsonDetailBlock(data: unknown): { type: "text"; text: string; }; export declare const MAX_LIST_RESULTS = 100; export declare const MAX_BODY_CHARS = 2000; export declare const UNTRUSTED_CONTENT_NOTE: string; export interface ProjectedSpace { key: string; name: string; type: string; id: number; } export declare function projectSpace(raw: any): ProjectedSpace; export declare const ListSpacesArgsSchema: z.ZodObject<{ type: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type?: "global" | "personal" | undefined; }, { type?: "global" | "personal" | undefined; }>; export type ListSpacesArgs = z.infer; export declare function listSpaces(client: ConfluenceClient, args: ListSpacesArgs): Promise; export declare const GetSpaceArgsSchema: z.ZodObject<{ spaceKey: z.ZodString; }, "strip", z.ZodTypeAny, { spaceKey: string; }, { spaceKey: string; }>; export type GetSpaceArgs = z.infer; export declare function getSpace(client: ConfluenceClient, args: GetSpaceArgs): Promise; export interface ProjectedPage { id: string; title: string; spaceKey: string | null; status: string; version: number | null; body: string | null; } export declare function projectPage(raw: any): ProjectedPage; export declare const GetPageArgsSchema: z.ZodObject<{ pageId: z.ZodString; }, "strip", z.ZodTypeAny, { pageId: string; }, { pageId: string; }>; export type GetPageArgs = z.infer; export declare function getPage(client: ConfluenceClient, args: GetPageArgs): Promise; export declare const CreatePageArgsSchema: z.ZodObject<{ spaceKey: z.ZodString; title: z.ZodString; body: z.ZodString; }, "strip", z.ZodTypeAny, { spaceKey: string; title: string; body: string; }, { spaceKey: string; title: string; body: string; }>; export type CreatePageArgs = z.infer; export declare function createPage(client: ConfluenceClient, args: CreatePageArgs): Promise; export declare const UpdatePageArgsSchema: z.ZodObject<{ pageId: z.ZodString; currentVersion: z.ZodNumber; title: z.ZodString; body: z.ZodString; }, "strip", z.ZodTypeAny, { pageId: string; title: string; body: string; currentVersion: number; }, { pageId: string; title: string; body: string; currentVersion: number; }>; export type UpdatePageArgs = z.infer; export declare function updatePage(client: ConfluenceClient, args: UpdatePageArgs): Promise; export declare const SearchContentArgsSchema: z.ZodObject<{ cql: z.ZodString; limit: z.ZodOptional; }, "strip", z.ZodTypeAny, { cql: string; limit?: number | undefined; }, { cql: string; limit?: number | undefined; }>; export type SearchContentArgs = z.infer; export declare function searchContent(client: ConfluenceClient, args: SearchContentArgs): Promise;