import { LoggerConfig } from '@etlx/operators/@internal/log'; export declare type ConfluenceConfig = LoggerConfig & { confluence: { host: string; username: string; password: string; }; }; export declare type ConfluencePaginatedResponse = { results: T[]; start: number; limit: number; size: number; }; export declare type ConfluenceContentStatus = 'current' | 'thrash'; export declare type ConfluenceProfilePicture = { path: string; width: number; height: number; isDefault: boolean; }; export declare type ConfluenceUser = { type: 'known'; profilePicture: ConfluenceProfilePicture; username: string; displayName: string; userKey: string; }; export declare type ConfluenceSpace = { id: string; key: string; name: string; type: 'global'; homepage: ConfluencePage; _links: { self: string; }; }; export declare type ConfluenceAttachment = { id: string; type: 'attachment'; status: ConfluenceContentStatus; title: string; metadata: { mediaType: string; comment: string; }; extensions: { mediaType: string; comment: string; }; _links: { self: string; download: string; }; }; export declare type ConfluenceComment = { id: string; type: 'comment'; status: ConfluenceContentStatus; title: string; extensions: any; _links: { webui: string; self: string; }; }; export declare type ConfluenceLabel = { id: string; name: string; prefix: string; }; export declare type ConfluencePageHistory = { lastUpdated?: ConfluencePageVersion; nextVersion?: ConfluencePageVersion; previousVersion?: ConfluencePageVersion; latest: boolean; createdBy: ConfluenceUser; createdDate: string; hidden: boolean; }; export declare type ConfluencePageVersion = { by: ConfluenceUser; when: string; message: string; number: number; minorEdit: boolean; }; export declare type ConfluencePageBodyType = 'view' | 'editor' | 'export_view' | 'storage' | 'anonymous_export_view'; export declare type ConfluencePageBody = { [P in ConfluencePageBodyType]?: { value: string; representation: P; }; }; export declare type ConfluencePage = { id: string; type: 'page'; status: ConfluenceContentStatus; title: string; space?: ConfluenceSpace; history?: ConfluencePageHistory; version?: ConfluencePageVersion; ancestors?: ConfluencePage[]; children?: { attachment?: ConfluencePaginatedResponse; comment?: ConfluencePaginatedResponse; page?: ConfluencePaginatedResponse; }; descendants?: { attachment?: ConfluencePaginatedResponse; comment?: ConfluencePaginatedResponse; }; container?: ConfluenceSpace; body?: ConfluencePageBody; metadata?: { labels: ConfluencePaginatedResponse; }; extensions: any; _links: { webui: string; tinyui: string; self: string; }; }; export declare type ConfluencePageExpandable = 'container' | 'metadata' | 'metadata.labels' | 'children' | 'children.attachment' | 'children.comment' | 'children.page' | 'history' | 'history.lastUpdated' | 'history.previousVersion' | 'history.nextVersion' | 'ancestors' | 'ancestors.metadata' | 'ancestors.history' | 'ancestors.body' | 'ancestors.version' | 'ancestors.space' | 'body' | 'body.view' | 'body.editor' | 'body.export_view' | 'body.storage' | 'body.anonymous_export_view' | 'version' | 'descendants' | 'descendants.attachment' | 'descendants.comment' | 'space' | 'space.homepage' | 'space.metadata' | 'space.description';