@clerk/testing
Version:
Utilities to help you create E2E test suites for apps using Clerk
12 lines • 678 B
TypeScript
import { type CreateAgentTaskParams } from '../common';
/**
* Creates an agent task using the Clerk Backend API and returns its URL.
*
* If `secretKey` is not provided, falls back to the `CLERK_SECRET_KEY` environment variable.
*
* @experimental This is an experimental API for the Agent Tasks feature that is available under a private beta,
* and the API is subject to change. It is advised to [pin](https://clerk.com/docs/pinning) the SDK version
* and the clerk-js version to avoid breaking changes.
*/
export declare function createAgentTestingTask(params: CreateAgentTaskParams): Promise<import("@clerk/backend").AgentTask>;
//# sourceMappingURL=agent-task.d.ts.map