import type React from "react";
import type { AgentDetails, AgentMetadata } from "../../services/agentService";
import type { AiProfile } from "../../services/aiService";
type StateSetter<T> = React.Dispatch<React.SetStateAction<T>>;
export declare function useAgentSettingsPanel(input: {
    agent: AgentDetails | undefined;
    agentStub: Pick<AgentDetails, "id" | "profileId" | "status" | "userId"> & {
        parentAgentId?: string;
        ParentAgentId?: string;
    };
    agentMetadata: AgentMetadata | null;
    profiles: AiProfile[];
    editContext: any;
    showAgentSettings: boolean;
    onReloadProfiles?: () => void | Promise<void>;
    buildCurrentContext: () => any;
    sanitizeAgentMetadata: (metadata: AgentMetadata | null) => AgentMetadata | null;
    onAgentUpdate?: (updates: Partial<AgentDetails>) => void;
    readOnly: boolean;
    setAgent: StateSetter<AgentDetails | undefined>;
    setAgentMetadata: StateSetter<AgentMetadata | null>;
}): {
    activeTriggerSubscriptions: import("../../services/agentService").AgentTriggerSubscription[];
    allowanceGroups: ({
        key: string;
        label: string;
        rows: import("../../services/agentService").AgentSitecoreAllowance[];
    } | {
        key: string;
        label: string;
        rows: import("../../services/agentService").AgentFilesystemAllowance[];
    })[];
    allowancesTotalCount: number;
    autoAssignedSkillSet: Set<string>;
    displayedAvailableTools: import("./useAgentSettingsData").AgentToolDisplayItem[];
    displayedAvailableToolsError: string | null;
    displayedAvailableToolsLoading: boolean;
    displayedOperationAllowancesError: string | null;
    displayedOperationAllowancesLoading: boolean;
    hasAnyAllowances: boolean;
    manuallyAssignableSkillIdSet: Set<string>;
    metadataSelectedSkillIds: string[];
    profileFilteredSkills: import("../../services/agentService").AgentSkill[];
    selectedSkillIds: string[];
    selectedSkillSet: Set<string>;
    selectedSkills: import("../../services/agentService").AgentSkill[];
    selectableTemplateIdSet: Set<string>;
    setSkillActionError: React.Dispatch<React.SetStateAction<string | null>>;
    skillActionError: string | null;
    skillRootIds: string[];
    skillsError: string | null;
    skillsLoading: boolean;
    triggerSubscriptionsError: string | null;
    triggerSubscriptionsLoading: boolean;
    activeProfile: AiProfile | undefined;
    setActiveProfile: React.Dispatch<React.SetStateAction<AiProfile | undefined>>;
    selectedModelId: string | undefined;
    setSelectedModelId: React.Dispatch<React.SetStateAction<string | undefined>>;
    isPersistedAgent: boolean;
    isLocalOnlyDraftAgent: boolean;
    mode: import("./useAgentModeState").AgentMode;
    setMode: React.Dispatch<React.SetStateAction<import("./useAgentModeState").AgentMode>>;
    handleSwitchToAutonomous: () => void;
    modeOptions: import("../../../components").SelectOption[];
    profileOptions: import("../../../components").SelectOption[];
    modelOptions: import("../../../components").SelectOption[];
    handleOpenProfileSettings: (options?: {
        openInNewSlot?: boolean;
    }) => Promise<void>;
    handleOpenSkillItem: (skillId: string) => Promise<void>;
    pendingSettingsRef: React.RefObject<{
        modelName?: string | null;
        mode?: import("./useAgentSettingsData").AgentSettingsMode;
        profileId?: string | null;
        profileName?: string | null;
    } | null>;
    persistPendingSettingsIfNeeded: () => Promise<void>;
    getPendingRequestSettings: () => {
        mode: import("./useAgentSettingsData").AgentSettingsMode;
        profileId: string;
        profileName: string;
        modelId: string | undefined;
    };
    handleAddSkill: (skillId: string) => Promise<boolean | undefined>;
    handleRemoveSkill: (skillId: string) => Promise<void>;
};
export {};
