/** * Convert a string to snake_case * * @note * This isn't fully generic/bullet proof, but it works for our use case atm * * @example * ```ts * snakeCase("hello_world") // #=> HelloWorld * snakeCase("hello-world") // #=> HelloWorld * snakeCase("hello world") // #=> HelloWorld * snakeCase("helloWorld") // #=> HelloWorld * snakeCase("HelloWorld") // #=> HelloWorld * ``` */ declare function snakeCase(value: string): string; /** * Convert a path to snake_case * * @example * ```ts * snakeCasePath("hello_world/helloWorld/hello-world") // #=> hello_world/hello_world/hello_world * ``` */ declare function snakeCasePath(filepath: string): string; export { snakeCase, snakeCasePath, };