12 lines
352 B
TypeScript
12 lines
352 B
TypeScript
export interface ExternalEditorOptions {
|
|
command: string;
|
|
content: string;
|
|
}
|
|
export type ExternalEditorResult = {
|
|
status: "complete";
|
|
content: string;
|
|
} | {
|
|
status: "failed";
|
|
};
|
|
export declare function editInExternalEditor(options: ExternalEditorOptions): Promise<ExternalEditorResult>;
|
|
//# sourceMappingURL=external-editor.d.ts.map
|