import type { Filter, UpdateKind, UpdateKindMap } from '@puregram/api'; /** * match when `update.kind` is one of the supplied kinds. varargs or readonly * array. `kinds` metadata is the supplied list — dispatcher skips unrelated updates */ export declare function kindIn(kinds: readonly K[]): Filter; export declare function kindIn(...kinds: K[]): Filter; /** * match a custom update kind defined via `tg.defineUpdate(name)` and dispatched * via `tg.emit(name, payload)`. result narrows to `CustomUpdate` with the kind * literal preserved on the discriminant. mirrors `kind(k)` for bot-api updates */ export declare function customKind(name: N): Filter; //# sourceMappingURL=routing.d.ts.map