import { BubbleFlow, type WebhookEvent } from '@bubblelab/bubble-core';
export interface TestResult {
    operation: string;
    success: boolean;
    details?: string;
    data?: unknown;
}
export interface Output {
    success: boolean;
    testResults: TestResult[];
    createdIssueIdentifier?: string;
    teamId?: string;
    summary: string;
}
/**
 * Integration test flow for the Linear bubble.
 *
 * Tests all operations sequentially:
 * 1. list_teams - Find a team to work with
 * 2. list_workflow_states - Get workflow states for the team
 * 3. list_labels - Get labels for the team
 * 4. list_projects - Get projects
 * 5. create - Create a test issue with markdown description
 * 6. get - Retrieve the created issue
 * 7. update - Update the issue (title, priority, state change by name)
 * 8. add_comment - Add a markdown comment
 * 9. get_comments - Retrieve comments
 * 10. search - Search for the test issue
 */
export declare class LinearIntegrationFlow extends BubbleFlow<'webhook/http'> {
    handle(_payload: WebhookEvent): Promise<Output>;
}
//# sourceMappingURL=linear.integration.flow.d.ts.map