import { QueryRunnerProviderAlreadyReleasedError } from "typeorm"; import { ConnectionName } from "../database"; /** * Test helper for throwing a specific error only for SQL queries that match the given pattern, so that sql queries run to support the test work fine, but sql queries run by the GraphQL schema fail where we want them to **/ export declare const throwErrorForQueriesMatching: (match: RegExp, error?: QueryRunnerProviderAlreadyReleasedError, connectionName?: ConnectionName) => void;