import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import * as operations from "../models/operations/index.js"; export declare class Prompts extends ClientSDK { /** * Create a prompt * * @remarks * Creates a new prompt with its first version. The template supports {{variable}} placeholders. */ create(request: operations.CreatePromptRequest, options?: RequestOptions): Promise; /** * List prompts * * @remarks * Returns a paginated list of prompts owned by the authenticated user. */ list(request: operations.ListPromptsRequest, options?: RequestOptions): Promise; /** * Get a prompt * * @remarks * Retrieves a prompt by its ID, including the active template. Pass `version` to get a specific version's template. Pass `variables` as a JSON-encoded map to render the template with substitutions. */ get(request: operations.GetPromptRequest, options?: RequestOptions): Promise; /** * Update a prompt * * @remarks * Updates prompt metadata. To update the template content, create a new version instead. */ update(request: operations.UpdatePromptRequest, options?: RequestOptions): Promise; /** * Delete a prompt * * @remarks * Deletes a prompt and all its versions. */ delete(request: operations.DeletePromptRequest, options?: RequestOptions): Promise; /** * Create a new version * * @remarks * Creates a new version of a prompt. The new version automatically becomes the active version. Fields not provided are carried forward from the previous version. */ createVersion(request: operations.CreatePromptVersionRequest, options?: RequestOptions): Promise; /** * List versions * * @remarks * Returns the version history of a prompt, ordered by version number. */ listVersions(request: operations.ListPromptVersionsRequest, options?: RequestOptions): Promise; /** * Get a specific version * * @remarks * Retrieves a specific version of a prompt by version number. */ getVersion(request: operations.GetPromptVersionRequest, options?: RequestOptions): Promise; /** * Rollback to a version * * @remarks * Sets the active version of a prompt to a previous version. This does not delete newer versions — it only changes which version is active. */ rollback(request: operations.RollbackPromptRequest, options?: RequestOptions): Promise; } //# sourceMappingURL=prompts.d.ts.map