import { Transaction, TransactionType, TransactionTypeGroup } from "../crypto/index.js"; export type QueryPredicate = (transaction: Transaction) => Promise; export interface Query { getAll(): QueryIterable; getAllBySender(senderPublicKey: string): QueryIterable; getFromLowestPriority(): QueryIterable; getFromHighestPriority(): QueryIterable; } export interface QueryIterable { wherePredicate(predicate: QueryPredicate): QueryIterable; whereId(id: string): QueryIterable; whereType(type: TransactionType | number): QueryIterable; whereTypeGroup(typeGroup: TransactionTypeGroup | number): QueryIterable; whereVersion(version: number): QueryIterable; whereKind(transaction: Transaction): QueryIterable; has(): Promise; first(): Promise; all(): Promise; } //# sourceMappingURL=query.d.ts.map