import { BubbleFlow, type WebhookEvent } from '@bubblelab/bubble-core';
export interface TestResult {
    operation: string;
    success: boolean;
    details?: string;
    issueKey?: string;
    error?: string;
}
export interface Output {
    success: boolean;
    testResults: TestResult[];
    createdIssueKey?: string;
    projectKey?: string;
    summary: string;
}
/**
 * Payload for the Jira Integration Test workflow.
 */
export type JiraIntegrationTestPayload = WebhookEvent;
/**
 * Integration flow test for JiraBubble
 *
 * Automatically discovers the first available project and tests all core operations:
 * 1. list_projects - List available Jira projects (uses first one found)
 * 2. list_issue_types - Get issue types for the project
 * 3. create - Create a new test issue
 * 4. get - Retrieve the created issue
 * 5. update - Update the issue (summary, priority, labels)
 * 6. add_comment - Add a comment to the issue
 * 7. get_comments - Retrieve comments
 * 8. list_transitions - Get available transitions
 * 9. transition - Move issue to a different status
 * 10. search - Search for issues using JQL
 */
export declare class JiraIntegrationFlow extends BubbleFlow<'webhook/http'> {
    handle(_payload: JiraIntegrationTestPayload): Promise<Output>;
}
//# sourceMappingURL=jira.integration.flow.d.ts.map