import { type Theme } from '@inquirer/core'; import type { PartialDeep } from '@inquirer/type'; export type PlatformSelectChoice = { name: string; summaryName?: string; value: Value; checked?: boolean; }; type PlatformSelectTheme = { icon: { checked: string; unchecked: string; cursor: string; }; style: { selectedSummary: (text: string) => string; keysHelpTip: (keys: [key: string, action: string][]) => string | undefined; }; }; export type PlatformSelectPromptConfig = { message: string; choices: readonly PlatformSelectChoice[]; selectedLabel: string; emptyLabel: string; requiredErrorLabel?: string; required?: boolean; pageSize?: number; theme?: PartialDeep>; }; export declare function getSelectedChoiceNames(choices: readonly PlatformSelectChoice[]): string[]; export declare function formatSelectedSummary(selectedLabel: string, names: readonly string[], emptyLabel: string): string; export declare function renderSelectedSummaryLine(selectedLabel: string, names: readonly string[], emptyLabel: string): string; export declare function toggleChoice(choices: readonly PlatformSelectChoice[], value: Value): PlatformSelectChoice[]; export declare function selectAllChoices(choices: readonly PlatformSelectChoice[]): PlatformSelectChoice[]; export declare function invertChoices(choices: readonly PlatformSelectChoice[]): PlatformSelectChoice[]; export declare function platformSelectPrompt(config: PlatformSelectPromptConfig): Promise; export {}; //# sourceMappingURL=platform-select-prompt.d.ts.map