//#region src/retry/retryable-errors.d.ts
declare const DEFAULT_RETRYABLE_CODES: Set<string>;
declare const RETRYABLE_NODE_ERROR_CODES: Set<string>;
declare const RETRYABLE_POOL_MESSAGES: string[];
declare function getPostgresErrorCode(error: unknown): string | undefined;
declare function isRetryableError(error: unknown, retryableCodes?: Set<string>): boolean;
declare function isForeignKeyViolation(error: unknown): boolean;
declare function isSerializationError(error: unknown): boolean;
//#endregion
export { DEFAULT_RETRYABLE_CODES, RETRYABLE_NODE_ERROR_CODES, RETRYABLE_POOL_MESSAGES, getPostgresErrorCode, isForeignKeyViolation, isRetryableError, isSerializationError };