/**
 * Minimal local `package.json` shape. Replaces the abandoned `types-package-json`
 * dependency. The index signature keeps arbitrary fields accessible while the
 * common npm fields stay typed.
 */
export interface PackageJson {
    [key: string]: unknown;
    author?: unknown;
    bin?: string | Record<string, string>;
    browser?: string | Record<string, string>;
    bugs?: unknown;
    dependencies?: Record<string, string>;
    description?: string;
    devDependencies?: Record<string, string>;
    engines?: Record<string, string>;
    exports?: unknown;
    files?: string[];
    homepage?: string;
    keywords?: string[];
    license?: string;
    main?: string;
    module?: string;
    name?: string;
    optionalDependencies?: Record<string, string>;
    peerDependencies?: Record<string, string>;
    private?: boolean;
    publishConfig?: Record<string, unknown>;
    repository?: unknown;
    scripts?: Record<string, string>;
    sideEffects?: boolean | string[];
    type?: 'commonjs' | 'module';
    types?: string;
    version?: string;
    workspaces?: string[] | Record<string, unknown>;
}
export type PackageJsonEx = PackageJson & {
    type: 'module' | 'commonjs';
};
export declare const loadPackageConfig: () => Promise<PackageJsonEx>;
//# sourceMappingURL=loadPackageConfig.d.ts.map