export interface FolderDialogDeps {
    platform: NodeJS.Platform;
    exec: (cmd: string, opts?: {
        encoding: BufferEncoding;
        timeout?: number;
    }) => string;
}
export declare class FolderDialogService {
    private deps;
    constructor(deps?: Partial<FolderDialogDeps>);
    /** Returns the OS-specific command string, or null if the platform is unsupported. */
    getCommand(): string | null;
    /**
     * Opens a native folder picker dialog and returns the selected absolute path.
     * Returns `null` if the user cancels the dialog.
     * Throws if the platform is unsupported or the command fails unexpectedly.
     */
    pickFolder(): string | null;
}
//# sourceMappingURL=folder-dialog.service.d.ts.map