import { ValidationError } from './types.js';
export interface ExpandExportsOptions {
    absolutePath: string;
    relPath: string;
    filename: string;
    onWarning: (warning: ValidationError) => void;
}
/**
 * Expands the exports of a module to include all properties,
 * including those on the default export if it is an object or array.
 * For example, exports of type `{ default: { a: 1, b: 2 } }`
 * will be expanded to `{ "default.a": 1, "default.b": 2 }`.
 *
 * @param options - Options for expanding exports
 * @returns A record of expanded exports
 */
export declare function expandExports(options: ExpandExportsOptions): Promise<Record<string, unknown>>;
//# sourceMappingURL=expand-exports.d.ts.map