import type { PascalCase, PascalCaseOptions } from "./pascal-case.js"; import type { DelimiterCase } from "./delimiter-case.js"; export type TrainCaseOptions = PascalCaseOptions; /** * Convert a string type to Train-Case. * @example * ```ts * type TrainCaseString = TrainCase<"hello world">; // "Hello-World" * ``` */ export type TrainCase = DelimiterCase, "-">; /** * Convert a string to Train-Case. * @example * ```ts * const trainCaseString = toTrainCase("hello world"); // "Hello-World" * ``` */ export declare function toTrainCase(string: T, options?: O): TrainCase; //# sourceMappingURL=train-case.d.ts.map