import { PermissionUpdate } from '@anthropic-ai/claude-agent-sdk';

interface PermissionOption {
    kind: "allow_once" | "allow_always" | "reject_once" | "reject_always";
    name: string;
    optionId: string;
    _meta?: {
        description?: string;
        customInput?: boolean;
    };
}
declare function buildPermissionOptions(toolName: string, toolInput: Record<string, unknown>, repoRoot?: string, suggestions?: PermissionUpdate[]): PermissionOption[];
declare function buildExitPlanModePermissionOptions(previousMode?: string): PermissionOption[];

export { type PermissionOption, buildExitPlanModePermissionOptions, buildPermissionOptions };
