import type { HttpClient } from "../core/http-client.js"; import type { DryRunResult, GenerationSubmitRequest, RunOptions, RunParams, RunSyncResult, RunTask, RuntimeConfig } from "../types/index.js"; export declare class GenerationResource { private readonly config; private readonly http; private readonly specCache; constructor(config: RuntimeConfig, http: HttpClient); run(modelId: string, params: RunParams, options: RunOptions & { dryRun: true; }): Promise>; run(modelId: string, params: RunParams, options?: RunOptions): Promise; runSync(modelId: string, params: RunParams, options: RunOptions & { dryRun: true; }): Promise>; runSync(modelId: string, params: RunParams, options?: RunOptions): Promise; private prepare; private createTask; private waitForResult; private toDryRun; private tryReadModelSpec; }