import type { SessionBackgroundCommand } from "@opengeni/sdk"; import { type ClientOverride } from "../provider.js"; export type UseSessionBackgroundCommandsOptions = ClientOverride & { pollIntervalMs?: number | undefined; enabled?: boolean | undefined; }; export type UseSessionBackgroundCommandsResult = { commands: SessionBackgroundCommand[]; loading: boolean; error: Error | null; refresh: () => Promise; cancel: (commandId: string) => Promise; }; export declare function useSessionBackgroundCommands(sessionId: string | null | undefined, options?: UseSessionBackgroundCommandsOptions): UseSessionBackgroundCommandsResult;