import type { TrifidConfigWithExtends } from '../../types/index.ts';
/**
 * Return the configuration object if it is valid or throw an error in other cases.
 *
 * @param config Configuration to validate.
 * @returns Valid configuration.
 */
declare const parser: (config?: TrifidConfigWithExtends) => TrifidConfigWithExtends;
export default parser;
//# sourceMappingURL=parser.d.ts.map