import '@xyflow/react/dist/style.css';
export interface AgentGraphDescriptor {
    agentType: string;
    nodes: {
        id: string;
        label: string;
        description?: string;
    }[];
    edges: {
        from: string;
        to: string;
        label?: string;
    }[];
}
export interface AgentGraphViewProps {
    graph: AgentGraphDescriptor | null;
    /** Bundled descriptor — used by "Reset to bundled" to restore the default. */
    bundled?: AgentGraphDescriptor | null;
    /** True when an override exists; controls badge + reset visibility. */
    hasOverride?: boolean;
    /** Optional override of the save handler — used by tests/Storybook. */
    onSaveOverride?: (input: {
        agentType: string;
        nodes: AgentGraphDescriptor['nodes'];
        edges: AgentGraphDescriptor['edges'];
    }) => Promise<{
        ok: boolean;
        error?: string;
    }>;
    /** Optional override of the reset handler — used by tests/Storybook. */
    onResetOverride?: (input: {
        agentType: string;
    }) => Promise<{
        ok: boolean;
        error?: string;
    }>;
    /** Force the editor to start in edit mode (Storybook). */
    initialEditing?: boolean;
}
export declare function AgentGraphView(props: AgentGraphViewProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=agent-graph-view.d.ts.map