import { APIResource } from "../../core/resource.js"; import { APIPromise } from "../../core/api-promise.js"; import { RequestOptions } from "../../internal/request-options.js"; export declare class Agents extends APIResource { /** * Get all agent IDs that have the specified folder attached. */ list(folderID: string, query?: AgentListParams | null | undefined, options?: RequestOptions): APIPromise; } export type AgentListResponse = Array; export interface AgentListParams { /** * Cursor for pagination (agent ID). Returns results relative to this ID in the * specified sort order. Expected format: 'agent-' */ after?: string | null; /** * Cursor for pagination (agent ID). Returns results relative to this ID in the * specified sort order. Expected format: 'agent-' */ before?: string | null; /** * Maximum number of agents to return */ limit?: number | null; /** * Sort order for agents by creation time. 'asc' for oldest first, 'desc' for * newest first */ order?: 'asc' | 'desc'; /** * Field to sort by */ order_by?: 'created_at'; } export declare namespace Agents { export { type AgentListResponse as AgentListResponse, type AgentListParams as AgentListParams }; } //# sourceMappingURL=agents.d.ts.map