export declare const serialize: (format: string, value: unknown) => Promise;