import { ListStateStorage } from '@sentio/runtime'; import { AptosResourcesContext } from './context.js'; import { AptosBindOptions } from './network.js'; import { AptosResourcesProcessor } from './aptos-processor.js'; import { HandleInterval, MoveAccountFetchConfig } from '@sentio/protos'; import { MoveResource } from '@aptos-labs/ts-sdk'; import { PromiseOrVoid } from '../core/index.js'; import { HandlerOptions } from './models.js'; export declare class AptosResourceProcessorTemplateState extends ListStateStorage { static INSTANCE: AptosResourceProcessorTemplateState; } declare class Handler { type?: string; checkpointInterval?: HandleInterval; timeIntervalInMinutes?: HandleInterval; handlerName: string; handler: (resources: MoveResource[], ctx: AptosResourcesContext) => PromiseOrVoid; handlerOptions: HandlerOptions; } export declare class AptosResourceProcessorTemplate { id: number; binds: Set; handlers: Handler[]; constructor(); createProcessor(options: AptosBindOptions): AptosResourcesProcessor; bind(options: AptosBindOptions, ctx: AptosResourcesContext): void; protected onInterval(handler: (resources: MoveResource[], ctx: AptosResourcesContext) => PromiseOrVoid, timeInterval: HandleInterval | undefined, checkpointInterval: HandleInterval | undefined, type: string | undefined, handlerOptions?: HandlerOptions): this; onTimeInterval(handler: (resources: MoveResource[], ctx: AptosResourcesContext) => PromiseOrVoid, timeIntervalInMinutes?: number, backfillTimeIntervalInMinutes?: number, type?: string, handlerOptions?: HandlerOptions): this; onVersionInterval(handler: (resources: MoveResource[], ctx: AptosResourcesContext) => PromiseOrVoid, checkpointInterval?: number, backfillCheckpointInterval?: number, type?: string, handlerOptions?: HandlerOptions): this; } export {}; //# sourceMappingURL=aptos-resource-processor-template.d.ts.map