import type { EncodeAndDecodeOptions } from '../types'; export declare function primitiveEncodeAndDecodeOptions({ encode, decode, }: { encode: (value: T) => string | undefined; decode: (value: string | null) => T | null; }): { (defaultValue: T): EncodeAndDecodeOptions & { defaultValue: T; }; (): EncodeAndDecodeOptions & { defaultValue: undefined; }; };