import type { ProviderConfigMap, PushProvider } from '../types'; import type { PushSendInput, PushSendResult, IPushConnector } from '../types'; import type { PushInputMap } from '../types/input-map.type'; import { ChannelTypeEnum } from '../types'; type PushFacadeInput
= P extends keyof PushInputMap ? PushInputMap[P] : PushSendInput; type PushConfigWithFetch
= ProviderConfigMap[P] & { fetch?: typeof fetch; }; export declare class Push
{ readonly id: string; readonly channelType = ChannelTypeEnum.PUSH; private readonly connector; constructor(providerId: P, config: PushConfigWithFetch
); constructor(connector: IPushConnector); send(input: PushFacadeInput
): Promise