import { type PrDraft } from '../../agent/schemas'; import type { Config } from '../../config/schema'; import type { EventBus } from '../../events/bus'; import type { EmitContext } from '../../events/emit'; import type { ConversationStore } from '../conversation/types'; import { invokeCognition } from '../router'; export declare function draftPullRequest(input: { planSummary: string; changesSummary: string; taskId?: string; taskUrl?: string; store: ConversationStore; config: Config; cacheDir?: string; bus?: EventBus; context?: EmitContext; invoke?: typeof invokeCognition; client?: Parameters[0]['client']; }): Promise;