export declare function filterIndices(items: string[], query: string): number[];
export declare function adjustWindowStart(windowStart: number, cursorPos: number, viewport: number, total: number): number;
export declare function resolveViewport(hint: number | undefined, termRows: number | undefined): number;
export declare function truncate(s: string, maxWidth: number): string;
export declare function advancePageStart(windowStart: number, viewport: number, total: number, direction: 1 | -1): number;
export interface PickerItem {
    label: string;
    description?: string;
    hint?: string;
}
export declare function promptSinglePicker(items: PickerItem[], opts?: {
    title?: string;
    defaultIndex?: number;
    pageSize?: number;
}): Promise<number>;
export interface PickerOptions {
    title?: string;
    initialSelected?: string[];
    pageSize?: number;
    getDescription?: (item: string) => string;
}
export declare function promptRepoPicker(items: string[], opts?: PickerOptions): Promise<string[]>;
//# sourceMappingURL=repo-picker.d.ts.map