import type { JSONSerializable } from '../utils/conversion'; import type { PubSubProviderAPI, SubscriptionCallback } from '.'; import { PubSub } from '@google-cloud/pubsub'; import type { Topic } from '@google-cloud/pubsub'; export declare class PubSubProviderGCP implements PubSubProviderAPI { #private; constructor(projectId: string, apiEndpoint?: string); get _testing_pubsub(): PubSub; publish(channel: string, message: JSONSerializable): Promise; subscribe(channel: string, callback: SubscriptionCallback): Promise; destroy(): Promise; assertTopicExists(topic: Topic, channel: string): Promise; } export default PubSubProviderGCP;