/**
 * Generate modules map and metadata from a config object.
 * @param {object} config
 * @param {object} [opts]
 * @returns {Promise<{modules: Record<string,string>, meta: object}>}
 */
export function generate(config: object, opts?: object): Promise<{
    modules: Record<string, string>;
    meta: object;
}>;
/**
 * Read config from file and generate modules.
 * @param {string} configPath
 * @param {object} [opts]
 */
export function generateFromFile(configPath: string, opts?: object): Promise<{
    modules: Record<string, string>;
    meta: object;
}>;
/**
 * Watch a config file and call the writer on changes.
 * @param {string} configPath
 * @param {string} outDir
 * @param {{onWrite?:Function}} opts
 */
export function watch(configPath: string, outDir: string, opts?: {
    onWrite?: Function;
}): {
    close(): void;
};
//# sourceMappingURL=pds-api.d.ts.map