import { Infer } from "superstruct"; declare const targetSchema: import("superstruct").Struct<{ extname?: string | undefined; transpileOnly?: boolean | undefined; }, { extname: import("superstruct").Struct; transpileOnly: import("superstruct").Struct; }>; export type Target = Infer & { [key: string]: unknown; }; declare const configSchema: import("superstruct").Struct<{ projects?: string[] | undefined; targets?: { extname?: string | undefined; transpileOnly?: boolean | undefined; }[] | undefined; compiler?: string | undefined; maxWorkers?: number | undefined; }, { projects: import("superstruct").Struct>; targets: import("superstruct").Struct<{ extname?: string | undefined; transpileOnly?: boolean | undefined; }[] | undefined, import("superstruct").Struct<{ extname?: string | undefined; transpileOnly?: boolean | undefined; }, { extname: import("superstruct").Struct; transpileOnly: import("superstruct").Struct; }>>; compiler: import("superstruct").Struct; maxWorkers: import("superstruct").Struct; }>; export type InferConfig = Infer; export type Config = InferConfig & { cwd: string; projects: string[]; targets?: Target[]; }; export declare function resolveProjectPath(cwd: string, projects: string[]): Promise; export interface LoadConfigOptions { cwd?: string; path?: string; } export declare function loadConfig({ cwd, path, }: LoadConfigOptions): Promise; export {};