import type { Command } from "commander"; import type { AgentPermissionRequest } from "@getpaseo/protocol/agent-types"; import type { CommandOptions, ListResult, OutputSchema } from "../../output/index.js"; /** Permission response item for display */ export interface PermissionResponseItem { requestId: string; agentId: string; agentShortId: string; name: string; result: string; } /** Schema for permit allow/deny output */ export declare const permitResponseSchema: OutputSchema; /** Transform a permission the agent answered to a response item */ export declare function toPermissionResponseItem(agentId: string, permission: AgentPermissionRequest, result: "allowed" | "denied"): PermissionResponseItem; export type PermitAllowResult = ListResult; export interface PermitAllowOptions extends CommandOptions { all?: boolean; input?: string; host?: string; } export declare function runAllowCommand(agentIdOrPrefix: string, reqId: string | undefined, options: PermitAllowOptions, _command: Command): Promise; //# sourceMappingURL=allow.d.ts.map