import type { AgentDetails, AgentMetadata } from "../../services/agentService";
import type { AiProfile } from "../../services/aiService";
/**
 * Starts a brand-new draft agent immediately when its profile has
 * "Auto Start On Create" enabled: the run is submitted with an empty prompt,
 * so only the profile instructions and context reach the model and the
 * response streams in without the user typing anything.
 *
 * Defers to the initial-prompt flows (splash screen `initialPrompt` prop or
 * `additionalData.initialPrompt` metadata) — when one of those is present it
 * owns the first submission and auto-start must not race it.
 */
export declare function useAgentAutoStartOnCreate(input: {
    agentStubId: string;
    agent: AgentDetails | undefined;
    agentMetadata: AgentMetadata | null | undefined;
    initialMetadata: AgentMetadata | undefined;
    activeProfile: AiProfile | undefined;
    selectedModelId: string | null | undefined;
    initialPrompt: string | undefined;
    prompt: string;
    messageCount: number;
    effectiveIsFocused: boolean;
    isLoading: boolean;
    isSubmitting: boolean;
    readOnly: boolean;
    editContext: any;
    handleSubmit: (promptOverride?: string) => void | Promise<void>;
}): void;
