import type { IAgentRuntime, Memory } from "@elizaos/core";
type RoleName = "OWNER" | "ADMIN" | "USER" | "GUEST";
type TaskAgentAbility = "create" | "interact";
export declare function requireTaskAgentAccess(runtime: IAgentRuntime, message: Memory, ability: TaskAgentAbility): Promise<{
    allowed: true;
    connector: string | null;
    requiredRole: RoleName;
    actualRole: RoleName;
} | {
    allowed: false;
    connector: string | null;
    requiredRole: RoleName;
    actualRole: RoleName;
    reason: string;
}>;
export {};
//# sourceMappingURL=task-policy.d.ts.map