/** * The filepath naming transform modes that the library supports */ declare const transformModes: readonly [ /** * Transform the filepath to camelCase */ "camelCase", /** * Transform the filepath to kebab-case */ "kebab-case", /** * Transform the filepath to PascalCase / UpperCamelCase */ "PascalCase", /** * Do not transform the filepath */ "passthrough", /** * Transform the filepath to snake_case */ "snake_case"]; /** * A filepath naming transform modes that the library supports */ export type TransformMode = (typeof transformModes)[number]; /** * A type-safe function to create a mode */ declare const transformMode: (value: T) => T; /** * Predicate to check if a value is a mode */ declare function isTransformMode(value: unknown): value is TransformMode; export { isTransformMode, transformMode, transformModes, };