export declare const useDeployAgent: ({ onSuccess, onError, }?: {
    onSuccess?: () => void;
    onError?: (error: Error) => void;
}) => import("@tanstack/react-query").UseMutationResult<import("../api/withSafeApi").ApiHandlerResult<string>, Error, {
    draftId?: string;
    characterfile?: string;
    avatar?: string;
    frameworkVersion?: string;
}, unknown>;
