export interface BuildLinearWorkflowInput {
    issue: {
        id: string;
        title: string;
        description: string;
        labels: string[];
        comments: string[];
        project?: string;
    };
    repoTarget: {
        owner: string;
        repo: string;
        defaultBranch: string;
    } | null | undefined;
    connectedAgents: ReadonlyArray<{
        id: string;
        name: string;
        capabilities: string[];
    }>;
    actor: {
        linearUserId: string;
        cloudUserId: string;
    };
}
export interface BuildLinearWorkflowResult {
    artifactPath: string;
    artifactContent: string;
    pattern: 'pipeline' | 'supervisor' | 'dag';
    selectedAgents: ReadonlyArray<string>;
    rationale: string;
}
export declare function buildLinearWorkflow(input: BuildLinearWorkflowInput): BuildLinearWorkflowResult;
