import { type SetStateAction } from "react";
import type { AgentDetails, AgentMetadata } from "../../services/agentService";
import type { AiProfile } from "../../services/aiService";
type BuildCurrentContext = () => AgentMetadata | null;
type SanitizeAgentMetadata = (metadata: AgentMetadata | null) => AgentMetadata | null;
export declare function useAgentSkillActions(input: {
    agent: AgentDetails | undefined;
    agentMetadata: AgentMetadata | null | undefined;
    activeProfile: AiProfile | undefined;
    profiles: AiProfile[];
    isLocalOnlyDraftAgent: boolean;
    editContext: any;
    pendingSettingsRef: {
        current: any;
    };
    getPendingRequestSettings: () => {
        profileId?: string;
        mode?: string;
        modelId?: string;
    };
    buildCurrentContext: BuildCurrentContext;
    sanitizeAgentMetadata: SanitizeAgentMetadata;
    setAgent: (nextAgent: SetStateAction<AgentDetails | undefined>) => void;
    setAgentMetadata: (nextMetadata: SetStateAction<AgentMetadata | null>) => void;
    onAgentUpdate?: (agent: AgentDetails) => void;
    metadataSelectedSkillIds: string[];
    selectedSkillSet: Set<string>;
    readOnly: boolean;
    setSkillActionError: (message: string | null) => void;
}): {
    handleAddSkill: (skillId: string) => Promise<boolean | undefined>;
    handleRemoveSkill: (skillId: string) => Promise<void>;
};
export {};
