/**
 * Shared error helper utilities for tests.
 * These provide typed ways to create errors with additional properties
 * like `code` (for Node.js filesystem errors) and `constraint` (for Postgres errors).
 */
export interface NodeError extends Error {
    code?: string;
}
export interface PostgresError extends Error {
    code: string;
    constraint?: string;
}
export declare const createNodeError: (message: string, code: string) => NodeError;
export declare const createPostgresError: (message: string, code: string, constraint?: string) => PostgresError;
