import { InitContinue } from "./actor.js"; import type { ActorBuilder, ActorContext, ActorDefinition } from "./types/functional.js"; type CallHandler = (...args: any[]) => any; type CastHandler = (...args: any[]) => void; type CallHandlers = Record; type CastHandlers = Record; export declare function createActor(factory: (ctx: ActorContext, self: ActorBuilder<{}, {}>, ...args: TArgs) => ActorBuilder): ActorDefinition; export declare function createActor(factory: (ctx: ActorContext, self: ActorBuilder<{}, {}>, ...args: TArgs) => void | InitContinue): ActorDefinition; export {}; //# sourceMappingURL=create_actor.d.ts.map