import type { CloseMode, ISubscribable } from "./api.js";
export declare const isSubscribable: (x: any) => x is ISubscribable<any>;
/**
 * Returns true if mode is FIRST, or if mode is LAST *and* `num = 0`.
 *
 * @internal
 */
export declare const isFirstOrLastInput: (mode: CloseMode, num: number) => boolean;
//# sourceMappingURL=checks.d.ts.map