/** * Capitalize the first letter of a string. * @example * ```ts * const capitalizedString = capitalize("hello world"); // "Hello world" * ``` */ export declare function capitalize(string: string): Capitalize; export type CapitalizeAll = T extends [infer First, ...infer Rest] ? First extends string ? Rest extends string[] ? [Capitalize, ...CapitalizeAll] : never : never : []; export declare function capitalizeAll(strings: T): Capitalize[]; //# sourceMappingURL=capitalize.d.ts.map