import type { Interface } from 'node:readline';
import type { Answers, ListQuestion } from 'inquirer';
import BasePrompt from 'inquirer/lib/prompts/base';
export declare class SearchListPrompt extends BasePrompt<ListQuestion> {
    protected done: (result: unknown) => void;
    private readonly _paginator;
    private _selected;
    private _query;
    private _firstRender;
    constructor(question: ListQuestion, readline: Interface, answers: Answers);
    protected _run(callback: (result: unknown) => void): this;
    private _onUpKey;
    private _onDownKey;
    private _onNumberKey;
    /**
     * When user press `enter` key
     */
    private _onSubmit;
    private _onError;
    private _onKeyPress;
    private _setQuery;
    private _adjustSelected;
    private _getCurrentValue;
    render(error?: string): void;
}
//# sourceMappingURL=SearchListPrompt.d.ts.map