import type { ModuleFormat } from "node:module"; import ts from "typescript"; export interface TSConfig extends ts.ParsedCommandLine { path: string; } export interface Options { /** Whether to type check or not */ check?: boolean; /** Path to the default tsconfig file to use if none is found */ defaults?: string; } export declare function resolve(name: string, parent: string, { defaults }: Options): string | undefined; export interface CompileOutput { source: string; format: ModuleFormat; } export declare function compile(file: string, format: ModuleFormat | null | undefined, { check, defaults }: Options): CompileOutput; //# sourceMappingURL=compiler.d.ts.map