///
import { Transaction } from "../crypto/transactions.js";
export type ProcessorError = {
type: string;
message: string;
};
export type ProcessorResult = {
accept: number[];
broadcast: number[];
invalid: number[];
excess: number[];
errors?: {
[index: string]: ProcessorError;
};
};
export interface ProcessorExtension {
throwIfCannotBroadcast(transaction: Transaction): Promise;
}
export interface Processor {
process(data: Buffer[]): Promise;
}
export type ProcessorFactory = () => Processor;
//# sourceMappingURL=processor.d.ts.map