import type { CompilePlatform } from './resolveCompilePlatforms.ts';
export declare const relativePath: (from: string, to: string) => string;
export interface TypescriptConfigParams {
    hasDeclaration?: boolean;
    outDir?: string;
    pkg: string;
    platform: CompilePlatform;
    srcDir: string;
}
export interface PackageTypescriptConfig {
    compilerOptions: {
        customConditions?: readonly string[];
        declaration?: boolean;
        declarationMap?: boolean;
        emitDeclarationOnly?: boolean;
        module?: 'ESNext' | 'NodeNext';
        moduleResolution?: 'Bundler';
        noEmit: boolean;
        outDir?: string;
        rootDir: string;
        types?: string[];
    };
    exclude: string[];
    extends: string;
    include: string[];
}
export declare const createTypescriptConfig: ({ hasDeclaration, outDir, pkg, platform, srcDir, }: TypescriptConfigParams) => PackageTypescriptConfig;
export declare const writeTypescriptConfig: (pkg: string, platform: CompilePlatform, srcDir: string, hasDeclaration: boolean, outDir?: string) => string;
//# sourceMappingURL=createTypescriptConfig.d.ts.map