UNPKG

@kubb/core

Version:

Core functionality for Kubb's plugin-based code generation system, providing the foundation for transforming OpenAPI specifications.

20 lines (12 loc) 680 B
export { t as KubbFile } from './types-CA8nQKwM.cjs'; declare function clean(path: string): Promise<void>; declare function read(path: string): Promise<string>; declare function readSync(path: string): string; type Options = { sanity?: boolean; }; declare function write(path: string, data: string, options?: Options): Promise<string | undefined>; declare function exists(path: string): Promise<boolean>; declare function getRelativePath(rootDir?: string | null, filePath?: string | null, platform?: 'windows' | 'mac' | 'linux'): string; declare function trimExtName(text: string): string; export { clean, exists, getRelativePath, read, readSync, trimExtName, write };