import type { CommunicationContractInterface } from "./interfaces"; import type { Pushable, Pullable, Subscribable, PollingProxy, Triggerable, Gate, AsyncPushable, AsyncPullable, AsyncPollingProxy, AsyncTriggerable } from "./types"; /** * Type guard: narrows a transfer to `Pushable` when `isPushable` is true. * * @category Guards */ export declare function isPushable(contract: CommunicationContractInterface): contract is CommunicationContractInterface & Pushable; /** * Type guard: narrows a transfer to `Pullable` when `isPullable` is true. * * @category Guards */ export declare function isPullable(contract: CommunicationContractInterface): contract is CommunicationContractInterface & Pullable; /** * Type guard: narrows a transfer to `Subscribable` when `isSubscribable` is true. * * @category Guards */ export declare function isSubscribable(contract: CommunicationContractInterface): contract is CommunicationContractInterface & Subscribable; /** * Type guard: narrows a transfer to `PollingProxy` when `isPollingProxy` is true. * * @category Guards */ export declare function isPollingProxy(contract: CommunicationContractInterface): contract is CommunicationContractInterface & PollingProxy; /** * Type guard: narrows a transfer to `Triggerable` when `isTriggerable` is true. * * @category Guards */ export declare function isTriggerable(contract: CommunicationContractInterface): contract is CommunicationContractInterface & Triggerable; /** * Type guard: narrows a transfer to `Gate` when `isGate` is true. * * @category Guards */ export declare function isGate(contract: CommunicationContractInterface): contract is CommunicationContractInterface & Gate; /** * Type guard: narrows a transfer to `AsyncPushable` when `isAsyncPushable` is true. * * @category Guards */ export declare function isAsyncPushable(contract: CommunicationContractInterface): contract is CommunicationContractInterface & AsyncPushable; /** * Type guard: narrows a transfer to `AsyncPullable` when `isAsyncPullable` is true. * * @category Guards */ export declare function isAsyncPullable(contract: CommunicationContractInterface): contract is CommunicationContractInterface & AsyncPullable; /** * Type guard: narrows a transfer to `AsyncPollingProxy` when `isAsyncPollingProxy` is true. * * @category Guards */ export declare function isAsyncPollingProxy(contract: CommunicationContractInterface): contract is CommunicationContractInterface & AsyncPollingProxy; /** * Type guard: narrows a transfer to `AsyncTriggerable` when `isAsyncTriggerable` is true. * * @category Guards */ export declare function isAsyncTriggerable(contract: CommunicationContractInterface): contract is CommunicationContractInterface & AsyncTriggerable; //# sourceMappingURL=guards.d.ts.map