import type { ActorConnection, ActorSocketMessage } from "../actor/socket.js"; import type { ActorSchemas } from "../actor/socketValidation.js"; interface ActorClientTransport { invoke(actorName: string, actorId: string, method: string, args: readonly unknown[]): Promise; connect(actorName: string, actorId: string, metadata: unknown, schemas?: ActorSchemas): Promise; broadcast(actorName: string, actorId: string, message: ActorSocketMessage): Promise; } declare function actorClient(): Promise; declare function remoteActorClient(): Promise; declare function runWithActorClient(client: ActorClientTransport, operation: () => T): T; export { actorClient, remoteActorClient, runWithActorClient }; export type { ActorClientTransport }; //# sourceMappingURL=client.d.ts.map