import type { PostgresFaultOptions } from './fault-types.mts'; export declare function assertFaultOptions(queryMarker: string, options: PostgresFaultOptions): void; export declare function queryText(input: unknown): string; /** True when `text` starts with the marker and, if given, the command that follows it. */ export declare function targetsStatement(text: string, queryMarker: string, command?: string): boolean; /** The faulted call must be the adapter's plain `{ text }` config, never a callback or submittable. */ export declare function isPlainTextConfig(args: unknown[]): boolean; export declare function ownsRequest(options: PostgresFaultOptions): boolean; export declare function installProperty(object: object, key: string, value: unknown): void; export declare function restoreProperty(object: object, key: string, descriptor: PropertyDescriptor | undefined): void; export declare function hasErrorCode(err: unknown, code: string): err is Error;