export interface ExternalEditorOptions {
    command: string;
    content: string;
}
export type ExternalEditorResult = {
    status: "complete";
    content: string;
} | {
    status: "failed";
} | {
    status: "launch-failed";
};
export declare function editInExternalEditor(options: ExternalEditorOptions): Promise<ExternalEditorResult>;
export type EditFileResult = {
    status: "complete";
} | {
    status: "exited";
    code: number;
} | {
    status: "launch-failed";
};
export declare function editFileInExternalEditor(options: {
    command: string;
    path: string;
}): Promise<EditFileResult>;
//# sourceMappingURL=external-editor.d.ts.map