import type { WorkflowNativePullRequestFinishConfig } from '../workflow-contract/types.js'; export interface NativePullRequestRecord { number: number; url: string; baseBranch: string; headBranch: string; headSha: string; state: 'OPEN'; } export interface NativePullRequestFinishOutcome { provider: 'github-fill' | 'repository-command'; disposition: 'created' | 'reused'; pullRequest: NativePullRequestRecord; remoteVerified: true; } export declare class NativePullRequestFinishError extends Error { readonly pullRequest: NativePullRequestRecord | null; constructor(message: string, pullRequest: NativePullRequestRecord | null, options?: ErrorOptions); } export declare function observeNativePullRequest(options: { projectRoot: string; baseBranch: string; headBranch: string; }): NativePullRequestRecord | null; export declare function finishNativePullRequest(options: { projectRoot: string; changeName: string; transactionId: string; remote: string; baseBranch: string; headBranch: string; headSha: string; config: WorkflowNativePullRequestFinishConfig | null; }): NativePullRequestFinishOutcome; //# sourceMappingURL=native-pull-request-finish.d.ts.map