import type { Prefix, Suffix } from '@toolbox-ts/types/defs/string'; /** * Capitalizes the first letter of a string. * @example * ```ts * capitalize('hello') // 'Hello' * capitalize('h') // 'H' * ``` */ export declare const capitalize: (str: S) => Capitalize; /** * Uncapitalizes the first letter of a string. * @example * ```ts * uncapitalize('Hello') // 'hello' * uncapitalize('H') // 'h' * ``` */ export declare const uncapitalize: (str: S) => Uncapitalize; /** * Prefixes a string with another string. * * @example * ```ts * prefix('pre', '-fix') // 'pre-fix' * prefix('pre-', 'fix') // 'pre-fix' * ``` */ export declare const prefix:

(pre: P, str: S) => Prefix; /** * Suffixes a string with another string. * * @example * ```ts * suffix('suf-', 'fix') // 'suf-fix' * suffix('suf', '-fix') // 'suf-fix' * ``` */ export declare const suffix:

(str: S, suf: P) => Suffix;