import { t as AtlassianCredentials } from "./credentials-7605Uuk0.js"; //#region src/atlassian/confluence.d.ts interface ConfluencePage { /** Confluence page id. */ id: string; /** Page title as displayed in Confluence. */ title: string; /** Space key (e.g. `"PAPI"`). Empty string when the API omits it. */ spaceKey: string; /** Monotonic version number. `0` when the API omits it. */ version: number; /** ADF description flattened to markdown. Empty string when the page has no body. */ markdown: string; /** The page URL as supplied to `fetchConfluencePage`. */ url: string; } interface FetchConfluencePageOptions { url: string; credentials: AtlassianCredentials; } /** * Thrown on any HTTP / decoding / transport failure. Callers can inspect * `status` to decide whether to render a tailored error (401, 403, 404, * ...). Transport-level failures (DNS, connection reset, JSON parse) use * `status === 0` since no HTTP response was received. */ declare class ConfluenceFetchError extends Error { readonly status: number; constructor(message: string, status: number); } declare function fetchConfluencePage(options: FetchConfluencePageOptions): Promise; //#endregion export { fetchConfluencePage as i, ConfluencePage as n, FetchConfluencePageOptions as r, ConfluenceFetchError as t };