import { APIResource } from "../../core/resource.js"; import * as ToolsAPI from "./tools.js"; import { ToolExecutionsOffsetPage } from "./tools.js"; import { APIPromise } from "../../core/api-promise.js"; import { type OffsetPageParams, PagePromise } from "../../core/pagination.js"; import { RequestOptions } from "../../internal/request-options.js"; export declare class Scheduled extends APIResource { /** * Returns a page of scheduled tool executions */ list(query?: ScheduledListParams | null | undefined, options?: RequestOptions): PagePromise; /** * Returns the details for a specific scheduled tool execution */ get(id: string, options?: RequestOptions): APIPromise; } export interface ScheduledGetResponse { id?: string; attempts?: Array; created_at?: string; execution_status?: string; execution_type?: string; finished_at?: string; input?: { [key: string]: unknown; }; run_at?: string; started_at?: string; tool_name?: string; toolkit_name?: string; toolkit_version?: string; updated_at?: string; user_id?: string; } export interface ScheduledListParams extends OffsetPageParams { } export declare namespace Scheduled { export { type ScheduledGetResponse as ScheduledGetResponse, type ScheduledListParams as ScheduledListParams, }; } export { type ToolExecutionsOffsetPage }; //# sourceMappingURL=scheduled.d.ts.map