export interface Terminal {
    id: string;
    pid: number;
    command: string;
    args: string[];
    cwd: string;
    purpose: string;
    createdBy: 'user' | 'llm';
    title: string;
    status: 'running' | 'exited';
    exitCode?: number;
    createdAt: string;
    uptime: number;
}
interface TerminalsResponse {
    terminals: Terminal[];
    count: number;
}
interface CreateTerminalParams {
    command: string;
    args?: string[];
    purpose: string;
    cwd?: string;
    title?: string;
}
interface CreateTerminalResponse {
    terminalId: string;
    pid: number;
    purpose: string;
    command: string;
}
export declare function useTerminals(): import("@tanstack/react-query").UseQueryResult<NoInfer<TerminalsResponse>, Error>;
export declare function useCreateTerminal(): import("@tanstack/react-query").UseMutationResult<CreateTerminalResponse, Error, CreateTerminalParams, unknown>;
export declare function useKillTerminal(): import("@tanstack/react-query").UseMutationResult<void, Error, string, unknown>;
export declare function useTerminalOutput(terminalId: string | null): import("@tanstack/react-query").UseQueryResult<NoInfer<Terminal>, Error>;
export {};
//# sourceMappingURL=useTerminals.d.ts.map