import type { Format } from './types.js'; /** * Creates a list formatter in raw mode. * @param options - Pass `false` to return the input value without formatting. * @returns Formatter that returns the input value or `undefined`. */ export declare function list(options: false): Format | undefined>; /** * Creates a locale-aware list formatter. * @param options - `Intl.ListFormat` options. * @returns Formatter that returns a formatted string or `undefined`. */ export declare function list(options?: Intl.ListFormatOptions): Format | undefined, string | undefined>; /** * Creates a list formatter in raw mode with a fallback value. * @param fallback - Value returned when the input is `undefined` or `null`. * @param options - Pass `false` to return the input value or fallback without formatting. * @returns Formatter that returns the input value or fallback. */ export declare function list(fallback: Iterable, options: false): Format | undefined, Iterable>; /** * Creates a locale-aware list formatter with a fallback value. * @param fallback - Value used when the input is `undefined` or `null`. * @param options - `Intl.ListFormat` options, or `{}` for the defaults. * @returns Formatter that returns a formatted string or `undefined`. */ export declare function list(fallback: Iterable, options: Intl.ListFormatOptions): Format | undefined, string | undefined>; //# sourceMappingURL=list.d.ts.map