import type { SnakeCase } from "./snake-case.js"; import type { UpperCase } from "./upper-case.js"; /** * Convert a string type to CONSTANT_CASE. * @example * ```ts * type ConstantCaseString = ConstantCase<"hello world">; // "HELLO_WORLD" * ``` */ export type ConstantCase = UpperCase>; /** * Convert a string to CONSTANT_CASE. * @example * ```ts * const constantCaseString = toConstantCase("hello world"); // "HELLO_WORLD" * ``` */ export declare function toConstantCase(string: T): ConstantCase; //# sourceMappingURL=constant-case.d.ts.map