/** * Readonly context carrying agent and user identity. * Passed to tools, signals, and scheduled tasks for user-scoped operations. */ export declare class Context { readonly userId: string; readonly hasAgentId?: boolean; constructor(input: { userId: string; agentId?: string; }); get agentId(): string; } /** * Creates a user-scoped context without an agent identity. * Expects: userId is already validated by caller. */ export declare function contextForUser(input: { userId: string; }): Context; /** * Creates an agent-scoped context with both user and agent identity. * Expects: userId and agentId are already validated by caller. */ export declare function contextForAgent(input: { userId: string; agentId: string; }): Context; //# sourceMappingURL=context.d.ts.map