import { calculateOffset, calculateRetryDelay, createPaginationResult, DatabaseNotFoundError, DEFAULT_RETRY_CONFIG, isConnectionError, isConstraintViolation, NotFoundError, normalizePagination, PaginationParams, PaginationResult, RetryConfig, retryOperation, sleep, TransactionCallback, takeFirst, takeFirstOrThrow } from '@g-1/util'; export { calculateOffset, calculateRetryDelay, createPaginationResult, DatabaseNotFoundError, DEFAULT_RETRY_CONFIG, isConnectionError, isConstraintViolation, normalizePagination, NotFoundError, PaginationParams, PaginationResult, RetryConfig, retryOperation, sleep, takeFirst, takeFirstOrThrow, TransactionCallback, }; export declare const QueryNotFoundError: typeof DatabaseNotFoundError; /** * Take the first result from a query or throw a generic error */ export declare function takeFirstOrThrowGeneric(values: T[], message?: string): T; /** * Take the first result from a query or throw an HTTP error */ export declare function takeFirstOrThrowHttp(values: T[], message?: string): T; export declare const timestamps: { createdAt: import("drizzle-orm").HasRuntimeDefault>>; updatedAt: import("drizzle-orm").HasDefault>>>; deletedAt: import("drizzle-orm/sqlite-core").SQLiteTextBuilderInitial<"deleted_at", [string, ...string[]], number | undefined>; }; //# sourceMappingURL=drizzle.d.ts.map