export declare function validateCode(value: any): true | { type: string; message: string; };