import { BubbleFlow, type WebhookEvent } from '@bubblelab/bubble-core';
export interface TestResult {
    operation: string;
    success: boolean;
    details?: string;
    pageId?: string;
    error?: string;
}
export interface Output {
    success: boolean;
    testResults: TestResult[];
    createdPageId?: string;
    spaceId?: string;
    summary: string;
}
export type ConfluenceIntegrationTestPayload = WebhookEvent;
/**
 * Integration flow test for ConfluenceBubble
 *
 * Automatically discovers the first available space and tests key operations:
 * 1. list_spaces - List available Confluence spaces (uses first one found)
 * 2. get_space - Get details for the discovered space
 * 3. create_page - Create a new test page
 * 4. get_page - Retrieve the created page
 * 5. update_page - Update the page content
 * 6. add_comment - Add a comment to the page
 * 7. get_comments - Retrieve comments
 * 8. search - Search for content using CQL
 * 9. list_pages - List pages in the space
 * 10. delete_page - Delete the test page
 */
export declare class ConfluenceIntegrationFlow extends BubbleFlow<'webhook/http'> {
    handle(_payload: ConfluenceIntegrationTestPayload): Promise<Output>;
}
//# sourceMappingURL=confluence.integration.flow.d.ts.map