import type { ToolInstallationStatus } from '../../../../packages/core/src/domain/generated/output.js';
export type InstallStreamStatus = 'idle' | 'streaming' | 'done' | 'error';
export interface UseToolInstallStreamResult {
    logs: string[];
    status: InstallStreamStatus;
    result: ToolInstallationStatus | null;
    startInstall: () => void;
}
export declare function useToolInstallStream(toolId: string): UseToolInstallStreamResult;
//# sourceMappingURL=use-tool-install-stream.d.ts.map