import type { Builtin } from './types/common.js'; export type ConvertFn = (source: Readonly) => ReturnType; export type ConvertRecord = { [Property in keyof Output]: Output[Property] extends Builtin ? ConvertFn : AnyConverter; }; export type AnyConverter = ConvertRecord | ConvertFn; export declare const convert: (input: Readonly, converter: AnyConverter) => Output;