import type { ProfileStatus, TaskStatus } from '../lib/browser/types.js';
export interface BrowserTask {
    task: TaskStatus;
    profile: ProfileStatus;
}
export interface PickedBrowserTask {
    task: BrowserTask;
    action: 'view' | 'stop';
}
/** Build the preview pane for a browser task. */
export declare function buildBrowserPreview(item: BrowserTask): string;
/** Build the list label for a browser task. */
export declare function buildBrowserLabel(item: BrowserTask, query: string): string;
export interface BrowserPickerConfig {
    message: string;
    tasks: BrowserTask[];
    pageSize?: number;
    initialSearch?: string;
}
/** Show an interactive browser task picker. */
export declare function browserTaskPicker(config: BrowserPickerConfig): Promise<PickedBrowserTask | null>;
