import type { Logger } from '../logger.js';
import type { CliShortcut, NormalizedConfig } from '../types/config.js';
type PrintUrlsHandler = (options?: {
    showAllRoutes?: boolean;
}) => void;
export declare const isCliShortcutsEnabled: (config: NormalizedConfig) => boolean;
// Normalize user input so shortcuts are case-insensitive
// and still work with accidental surrounding whitespace.
export declare const normalizeShortcutInput: (input: string) => string;
export declare function setupCliShortcuts({ help, openPage, closeServer, printUrls, restartServer, customShortcuts, logger }: {
    help?: boolean | string;
    openPage: () => Promise<void>;
    closeServer: () => Promise<void>;
    printUrls: PrintUrlsHandler;
    restartServer?: () => Promise<boolean>;
    customShortcuts?: (shortcuts: CliShortcut[]) => CliShortcut[];
    logger: Logger;
}): Promise<() => void>;
export { };
