export = PGPubsub; declare class PGPubsub extends EventEmitter { // @ts-ignore constructor(conString?: string | import("pg").ClientConfig | undefined, { log, retryLimit }?: { log?: typeof console.log; retryLimit?: number; }); // @ts-ignore protected _getDB(noNewConnections?: boolean | undefined): Promise; addChannel(channel: string, callback?: PGPubsubCallback | undefined): Promise; removeChannel(channel: string, callback?: PGPubsubCallback | undefined): this; publish(channel: string, data?: any): Promise; close(): Promise; reset(): void; #private; } declare namespace PGPubsub { export { PGPubsubCallback }; } import EventEmitter = require("events"); type PGPubsubCallback = (payload: any) => void; //# sourceMappingURL=index.d.ts.map