import type { ShortlinkOptions, ShortlinkServiceItem } from './options.js'; import type { ShortlinkServiceName } from './services.js'; /** Names of the built-in services in the list */ export declare const TITLES: Record; type ChoiceOptions = Pick; /** * The services to choose from: those of the `services` option with their titles, in its order, without repeated * titles. None when the `service` option is not one of them: then it is the only service. */ export declare function offeredServices(options: ChoiceOptions): ShortlinkServiceItem[]; /** * The service to use: the offered one with the `remembered` title, else the offered one that is the `service` * option, else the first offered one. When none is offered, the `service` option. */ export declare function chosenService(options: ChoiceOptions, remembered?: string): ShortlinkServiceItem; export {};