import { APIResource } from "../../../core/resource.js";
import * as AgentAPI from "./agent.js";
import { AgentExecutionsCursor } from "./agent.js";
import { type CursorParams, PagePromise } from "../../../core/pagination.js";
import { RequestOptions } from "../../../internal/request-options.js";
export declare class Executions extends APIResource {
    /**
     * List recent agent executions with pagination.
     *
     * @example
     * ```ts
     * // Automatically fetches more pages as needed.
     * for await (const agentExecution of client.senders.agent.executions.list(
     *   'senderId',
     * )) {
     *   // ...
     * }
     * ```
     */
    list(senderID: string, query?: ExecutionListParams | null | undefined, options?: RequestOptions): PagePromise<AgentExecutionsCursor, AgentAPI.AgentExecution>;
}
export interface ExecutionListParams extends CursorParams {
    /**
     * Status of an agent execution.
     */
    status?: AgentAPI.AgentExecutionStatus;
}
export declare namespace Executions {
    export { type ExecutionListParams as ExecutionListParams };
}
export { type AgentExecutionsCursor };
//# sourceMappingURL=executions.d.ts.map