export declare function castToDB(instance: any): Record;