export declare class PostgresError extends Error { readonly code: string | undefined; readonly detail: string | undefined; readonly constraint: string | undefined; constructor(message: string, code?: string, detail?: string, constraint?: string); } export declare function extractError(error: unknown): PostgresError; //# sourceMappingURL=errors.d.ts.map