import type { Config } from "../types/index.js"; /** * Open editor to compose message * Returns message content or null if cancelled */ export declare function openEditorForMessage(config: Config, initialContent?: string): Promise; /** * Open existing text in the user's editor for revision. * Unlike openEditorForMessage, unchanged text is a valid result (the user may * review and keep it as is). * * @param config - HubLaunch configuration * @param content - Text to edit * @param extension - Temp file extension, so the editor picks the right mode * @returns Promise - Saved text, or null if no editor is * available or the editor failed */ export declare function editInEditor(config: Config, content: string, extension?: string): Promise; /** * Compose message in terminal (multi-line input) * User types message directly in terminal, types END on new line to finish * * @param initialContent - Initial content (default: "@copilot ") * @returns Promise - Message content or null if cancelled */ export declare function composeInTerminal(initialContent?: string): Promise; /** * Prompt user to select how they want to compose their message * * @returns Promise<'editor' | 'terminal' | null> - Selected mode or null if cancelled */ export declare function selectComposeMode(): Promise<"editor" | "terminal" | null>; //# sourceMappingURL=editor.d.ts.map