type PlainObject = Record; type ErrorAttributes = { [K in keyof T]: T[K]; } & Record; type ToPlainObjectReturn = T extends readonly any[] ? any[] : T extends Function ? string : T extends symbol ? string : T extends Date ? Date : T extends object ? ErrorAttributes : T; export declare function toPlainObject>(data: T, options?: { noStack?: boolean; removeEmpty?: boolean; transform?: (value: any) => { isSanitized: true; value: any; } | { isSanitized: false; }; globalCircular?: boolean; }): R; export {};