import { JSX } from 'solid-js';
import { CollapsibleController } from '../ui/collapsible';
import { ToolPart } from './tool-types';
export type { ToolPart } from './tool-types';
export interface ToolProps {
    toolPart: ToolPart;
    defaultOpen?: boolean;
    /** Gate the disclosure trigger (programmatic control still works). */
    disabled?: boolean;
    /** Receive the open controller once mounted (forwarded from the Collapsible),
     *  so a parent (the kai-tool facade) can drive/observe open state. */
    controllerRef?: (api: CollapsibleController) => void;
    class?: string;
}
declare function Tool(props: ToolProps): JSX.Element;
export { Tool };
