/**
 * Neynar API
 * The Neynar API allows you to interact with the Farcaster protocol among other things. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
 *
 * The version of the OpenAPI document: 3.175.0
 * Contact: team@neynar.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import type { Configuration } from '../configuration';
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
import { type RequestArgs, BaseAPI } from '../base';
import type { AssignCustomDomain200Response } from '../models';
import type { AssignCustomDomainRequest } from '../models';
import type { AssociateDeployment200Response } from '../models';
import type { AssociateDeploymentRequest } from '../models';
import type { BuildRequest } from '../models';
import type { CancelSession200Response } from '../models';
import type { CancelSessionRequest } from '../models';
import type { CheckDomainAvailability200Response } from '../models';
import type { ClaimCreditDrop200Response } from '../models';
import type { ClaimCreditDropRequest } from '../models';
import type { CreateDeploymentRequest } from '../models';
import type { DeleteDeployment200Response } from '../models';
import type { DeleteDeploymentRequest } from '../models';
import type { DeleteRows200Response } from '../models';
import type { DeleteRowsRequest } from '../models';
import type { DeleteSecretsRequest } from '../models';
import type { DeployToVercel200Response } from '../models';
import type { DeployToVercelRequest } from '../models';
import type { ExecuteSql200Response } from '../models';
import type { ExecuteSqlRequest } from '../models';
import type { GetAccountAssociation200Response } from '../models';
import type { GetConversationMessages200Response } from '../models';
import type { GetCreditDrop200Response } from '../models';
import type { GetDeploymentFile200Response } from '../models';
import type { GetDevStatus200Response } from '../models';
import type { GetTableSchema200Response } from '../models';
import type { InsertRows200Response } from '../models';
import type { InsertRowsRequest } from '../models';
import type { ListConversations200Response } from '../models';
import type { ListDeploymentFiles200Response } from '../models';
import type { ListDeployments200ResponseInner } from '../models';
import type { ListSecrets200Response } from '../models';
import type { ListTables200Response } from '../models';
import type { PromptDeploymentStreamRequest } from '../models';
import type { Provision200Response } from '../models';
import type { ProvisionRequest } from '../models';
import type { QueryTable200Response } from '../models';
import type { QueryTableRequest } from '../models';
import type { RecoverRequest } from '../models';
import type { ReportStudioUsage200Response } from '../models';
import type { ReportStudioUsageRequest } from '../models';
import type { StartApp200Response } from '../models';
import type { StartAppRequest } from '../models';
import type { UpdateRows200Response } from '../models';
import type { UpdateRowsRequest } from '../models';
import type { UploadImage200Response } from '../models';
import type { UploadImageUrlRequest } from '../models';
import type { UpsertSecrets200Response } from '../models';
import type { UpsertSecretsRequest } from '../models';
import type { VercelDeploymentLogs200Response } from '../models';
import type { VercelDeploymentStatus200Response } from '../models';
/**
 * StudioApi - axios parameter creator
 * @export
 */
export declare const StudioApiAxiosParamCreator: (configuration?: Configuration) => {
    /**
     * Assigns a custom *.neynar.app subdomain to the user\'s deployed miniapp. The new domain is added to the Vercel project alongside the existing auto-assigned domain. The productionDomain in the database is updated to the custom domain. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Assign a custom subdomain to a deployed miniapp
     * @param {number} fid Farcaster ID of the requesting user
     * @param {AssignCustomDomainRequest} assignCustomDomainRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<AssignCustomDomain200Response>} A promise that resolves to a `AssignCustomDomain200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/assign-custom-domain)
     *
     */
    assignCustomDomain: (fid: number, assignCustomDomainRequest: AssignCustomDomainRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Associates a generated miniapp with a Farcaster account using a JFS-signed domain association. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Set account association
     * @param {AssociateDeploymentRequest} associateDeploymentRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<AssociateDeployment200Response>} A promise that resolves to a `AssociateDeployment200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/associate-deployment)
     *
     */
    associateDeployment: (associateDeploymentRequest: AssociateDeploymentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Runs Next.js build process for the generated app. If build fails, automatically calls a build-fixer agent to resolve errors. Streams build output and agent responses via Server-Sent Events. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Build generated app with automatic error fixing
     * @param {BuildRequest} buildRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<>} A promise that resolves to a `` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/build)
     *
     */
    build: (buildRequest: BuildRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Cancels an in-progress Claude Code session for a deployment. Safe to call even if no session is active — returns cancelled: false in that case.
     * @summary Cancel an active Claude session for a deployment
     * @param {CancelSessionRequest} cancelSessionRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<CancelSession200Response>} A promise that resolves to a `CancelSession200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/cancel-session)
     *
     */
    cancelSession: (cancelSessionRequest: CancelSessionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Checks whether a custom *.neynar.app subdomain is available for assignment. Validates format, checks reserved names, and verifies no other active deployment is using it. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Check if a custom subdomain is available
     * @param {number} fid Farcaster ID of the requesting user
     * @param {string} subdomain The desired subdomain (without .neynar.app suffix). Must be 3-63 characters, lowercase alphanumeric and hyphens only.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<CheckDomainAvailability200Response>} A promise that resolves to a `CheckDomainAvailability200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/check-domain-availability)
     *
     */
    checkDomainAvailability: (fid: number, subdomain: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Claims the most recent credit drop for the authenticated user. The drop\'s allowance is surfaced dynamically until expires_at and does not mutate extra_credits. Only drops created within the past 24 hours can be claimed.
     * @summary Claim credit drop
     * @param {ClaimCreditDropRequest} claimCreditDropRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<ClaimCreditDrop200Response>} A promise that resolves to a `ClaimCreditDrop200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/claim-credit-drop)
     *
     */
    claimCreditDrop: (claimCreditDropRequest: ClaimCreditDropRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Creates and deploys an instance of the miniapp generator for a user. Requires authentication via API key in the request header. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Create a miniapp generator deployment
     * @param {CreateDeploymentRequest} createDeploymentRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<ListDeployments200ResponseInner>} A promise that resolves to a `ListDeployments200ResponseInner` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/create-deployment)
     *
     */
    createDeployment: (createDeploymentRequest: CreateDeploymentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Deletes a specific miniapp generator deployment or all deployments for a FID. If deployment_id or name is provided, deletes single deployment. If only FID is provided, deletes all deployments for that FID. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Delete deployment(s)
     * @param {DeleteDeploymentRequest} deleteDeploymentRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<DeleteDeployment200Response>} A promise that resolves to a `DeleteDeployment200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/delete-deployment)
     *
     */
    deleteDeployment: (deleteDeploymentRequest: DeleteDeploymentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Deletes rows matching the WHERE conditions. WHERE clause is required to prevent accidental bulk deletes.
     * @summary Delete rows from table
     * @param {string} tableName
     * @param {DeleteRowsRequest} deleteRowsRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<DeleteRows200Response>} A promise that resolves to a `DeleteRows200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/delete-rows)
     *
     */
    deleteRows: (tableName: string, deleteRowsRequest: DeleteRowsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Deletes environment variables (secrets) from a deployment.
     * @summary Delete deployment secrets
     * @param {DeleteSecretsRequest} deleteSecretsRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<UpsertSecrets200Response>} A promise that resolves to a `UpsertSecrets200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/delete-secrets)
     *
     */
    deleteSecrets: (deleteSecretsRequest: DeleteSecretsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Publishes the generated miniapp to Vercel via GitHub. Creates a GitHub repository, pushes code, creates a Vercel project linked to GitHub, and triggers deployment. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Deploy miniapp to Vercel
     * @param {DeployToVercelRequest} deployToVercelRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<DeployToVercel200Response>} A promise that resolves to a `DeployToVercel200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/deploy-to-vercel)
     *
     */
    deployToVercel: (deployToVercelRequest: DeployToVercelRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Executes a raw SQL query against the deployment database. Only SELECT, WITH, and EXPLAIN queries are allowed. Admin access required.
     * @summary Execute raw SQL query (admin only)
     * @param {ExecuteSqlRequest} executeSqlRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<ExecuteSql200Response>} A promise that resolves to a `ExecuteSql200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/execute-sql)
     *
     */
    executeSql: (executeSqlRequest: ExecuteSqlRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Downloads the generated miniapp source code as a binary ZIP archive (Content-Type: application/zip). Requires a paid Studio subscription (GROWTH, STUDIO_PLUS, STUDIO_MAX, or INTERNAL). The deployment must be running. The 200 response body is a raw binary stream, not JSON.
     * @summary Export deployment source code as ZIP
     * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
     * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
     * @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
     * @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<>} A promise that resolves to a `` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/export-zip)
     *
     */
    exportZip: (deploymentId?: string, fid?: number, name?: string, namespace?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Retrieves the account-association.json file from a miniapp deployment, which contains the JFS-signed domain association. Requires API key authentication.
     * @summary Get account association of a miniapp
     * @param {string} [deploymentId] Deployment ID
     * @param {string} [namespace] Kubernetes namespace name
     * @param {string} [name] Kubernetes deployment name
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<GetAccountAssociation200Response>} A promise that resolves to a `GetAccountAssociation200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-account-association)
     *
     */
    getAccountAssociation: (deploymentId?: string, namespace?: string, name?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Retrieves messages in a specific conversation with cursor-based pagination (newest first). Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Get messages in a conversation
     * @param {string} conversationId Conversation ID
     * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
     * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
     * @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
     * @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
     * @param {boolean} [includeDeleted] Include deleted messages in the response. Defaults to false.
     * @param {number} [limit] Maximum number of messages to return per page. Defaults to 50, max 100.  (Default: 50, Maximum: 100)
     * @param {string} [cursor] Pagination cursor for fetching older messages. Omit to start from most recent.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<GetConversationMessages200Response>} A promise that resolves to a `GetConversationMessages200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-conversation-messages)
     *
     */
    getConversationMessages: (conversationId: string, deploymentId?: string, fid?: number, name?: string, namespace?: string, includeDeleted?: boolean, limit?: number, cursor?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Returns the most recent credit drop for the authenticated user. Returns the drop regardless of claimed/expired status.
     * @summary Get most recent credit drop
     * @param {number} fid Farcaster ID of the user
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<GetCreditDrop200Response>} A promise that resolves to a `GetCreditDrop200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-credit-drop)
     *
     */
    getCreditDrop: (fid: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Fetches info about a miniapp generator deployment by its deployment_id or name and creator\'s Farcaster ID. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Get deployment info
     * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
     * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
     * @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
     * @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<ListDeployments200ResponseInner>} A promise that resolves to a `ListDeployments200ResponseInner` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-deployment)
     *
     */
    getDeployment: (deploymentId?: string, fid?: number, name?: string, namespace?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Retrieves the contents of a specific file from the generated app. Requires Studio admin authentication or FID ownership validation. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Get deployment file contents
     * @param {string} filePath File path relative to gen/
     * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
     * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
     * @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
     * @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<GetDeploymentFile200Response>} A promise that resolves to a `GetDeploymentFile200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-deployment-file)
     *
     */
    getDeploymentFile: (filePath: string, deploymentId?: string, fid?: number, name?: string, namespace?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Retrieves the dev-status.json file from a miniapp deployment, which tracks the progress of app development phases. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Get dev status of a miniapp
     * @param {string} [deploymentId] Deployment ID
     * @param {string} [namespace] Kubernetes namespace name
     * @param {string} [name] Kubernetes deployment name
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<GetDevStatus200Response>} A promise that resolves to a `GetDevStatus200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-dev-status)
     *
     */
    getDevStatus: (deploymentId?: string, namespace?: string, name?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Retrieves the complete schema for a table including columns, indexes, and foreign keys.
     * @summary Get table schema
     * @param {string} tableName
     * @param {string} deploymentId Deployment ID (UUID)
     * @param {number} [fid] Farcaster ID of the user. Required for non-admin users.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<GetTableSchema200Response>} A promise that resolves to a `GetTableSchema200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-table-schema)
     *
     */
    getTableSchema: (tableName: string, deploymentId: string, fid?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Inserts one or more rows into the specified table. Returns the inserted rows with generated values.
     * @summary Insert rows into table
     * @param {string} tableName
     * @param {InsertRowsRequest} insertRowsRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<InsertRows200Response>} A promise that resolves to a `InsertRows200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/insert-rows)
     *
     */
    insertRows: (tableName: string, insertRowsRequest: InsertRowsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Lists all conversations for a specific deployment. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary List conversations for a deployment
     * @param {string} [deploymentId] Deployment ID (UUID). If provided, filters conversations to this deployment only.
     * @param {number} [fid] Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all conversations.
     * @param {string} [name] Kubernetes deployment name. If provided, filters conversations to this deployment only.
     * @param {boolean} [includeDeleted] Include deleted conversations in the response. Defaults to false.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<ListConversations200Response>} A promise that resolves to a `ListConversations200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-conversations)
     *
     */
    listConversations: (deploymentId?: string, fid?: number, name?: string, includeDeleted?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Lists files in a directory of the generated app. Requires Studio admin authentication or FID ownership validation. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary List deployment files
     * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
     * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
     * @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
     * @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
     * @param {string} [directory] Directory path relative to gen/ (defaults to root)
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<ListDeploymentFiles200Response>} A promise that resolves to a `ListDeploymentFiles200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-deployment-files)
     *
     */
    listDeploymentFiles: (deploymentId?: string, fid?: number, name?: string, namespace?: string, directory?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Lists all miniapp generator deployments for a user. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary List deployments
     * @param {number} [fid] Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all deployments.
     * @param {number} [limit] Maximum number of deployments to return. Defaults to 50, max 1000.  (Default: 50, Maximum: 1000)
     * @param {number} [offset] Number of deployments to skip for pagination. Defaults to 0.
     * @param {string} [query] Search string to filter deployments by name, display name, or FID.
     * @param {ListDeploymentsSortByEnum} [sortBy] Field to sort deployments by. Defaults to updated_at (most recently updated first).
     * @param {boolean} [includeDeleted] Include deleted deployments in the response. Defaults to false.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<Array<ListDeployments200ResponseInner>>} A promise that resolves to a `Array<ListDeployments200ResponseInner>` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-deployments)
     *
     */
    listDeployments: (fid?: number, limit?: number, offset?: number, query?: string, sortBy?: ListDeploymentsSortByEnum, includeDeleted?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Retrieves all secrets for a deployment.
     * @summary List deployment secrets
     * @param {string} deploymentId Deployment ID to list secrets for
     * @param {string} [key] Optional filter by environment variable name
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<ListSecrets200Response>} A promise that resolves to a `ListSecrets200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-secrets)
     *
     */
    listSecrets: (deploymentId: string, key?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Lists all tables and views in the deployment database, excluding system tables.
     * @summary List all tables in deployment database
     * @param {string} deploymentId Deployment ID (UUID)
     * @param {number} [fid] Farcaster ID of the user. Required for non-admin users.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<ListTables200Response>} A promise that resolves to a `ListTables200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-tables)
     *
     */
    listTables: (deploymentId: string, fid?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Sends a prompt to a specific miniapp generator deployment and returns a streaming response using Server-Sent Events. The response is a continuous stream of Server-Sent Events, not a single JSON payload. Each event contains a JSON object with type, message, and other fields specific to the message type. Requires authentication via API key in the request header. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Prompt a deployment with streaming response
     * @param {PromptDeploymentStreamRequest} promptDeploymentStreamRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<>} A promise that resolves to a `` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/prompt-deployment-stream)
     *
     */
    promptDeploymentStream: (promptDeploymentStreamRequest: PromptDeploymentStreamRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Provisions a Neon PostgreSQL database for the deployment, or validates and attaches a user-provided (BYO) connection string. Idempotent — returns success if already provisioned.
     * @summary Provision a database for a deployment
     * @param {ProvisionRequest} provisionRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<Provision200Response>} A promise that resolves to a `Provision200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/provision)
     *
     */
    provision: (provisionRequest: ProvisionRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Query data from a table with pagination and sorting.
     * @summary Query table data
     * @param {QueryTableRequest} queryTableRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<QueryTable200Response>} A promise that resolves to a `QueryTable200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/query-table)
     *
     */
    queryTable: (queryTableRequest: QueryTableRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Attempts to recover a broken dev server. Phase 1: reads dev server error logs and sends them to an AI agent for fixing, then waits for HMR to auto-rebuild. Phase 2: if HMR fails, falls back to a full npm build with AI retry loop. Streams progress events via Server-Sent Events. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Recover dev server with two-phase strategy
     * @param {RecoverRequest} recoverRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<>} A promise that resolves to a `` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/recover)
     *
     */
    recover: (recoverRequest: RecoverRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Called by miniapp-generator instances to report Claude SDK usage. Idempotent — duplicate submissions (same idempotency_key) are accepted but not double-counted.
     * @summary Report studio compute unit usage
     * @param {ReportStudioUsageRequest} reportStudioUsageRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<ReportStudioUsage200Response>} A promise that resolves to a `ReportStudioUsage200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/report-studio-usage)
     *
     */
    reportStudioUsage: (reportStudioUsageRequest: ReportStudioUsageRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Starts the Next.js development server for the generated miniapp. Requires Studio admin authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Start generated miniapp
     * @param {StartAppRequest} startAppRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<StartApp200Response>} A promise that resolves to a `StartApp200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/start-app)
     *
     */
    startApp: (startAppRequest: StartAppRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Stops the Next.js development server for the generated miniapp. Requires Studio admin authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Stop generated miniapp
     * @param {StartAppRequest} startAppRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<StartApp200Response>} A promise that resolves to a `StartApp200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/stop-app)
     *
     */
    stopApp: (startAppRequest: StartAppRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Updates rows matching the WHERE conditions. WHERE clause is required to prevent accidental bulk updates.
     * @summary Update rows in table
     * @param {string} tableName
     * @param {UpdateRowsRequest} updateRowsRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<UpdateRows200Response>} A promise that resolves to a `UpdateRows200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/update-rows)
     *
     */
    updateRows: (tableName: string, updateRowsRequest: UpdateRowsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Uploads an image file to the generated miniapp public folder. The image will be accessible as a static asset on the deployed miniapp. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Upload image to deployment
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<UploadImage200Response>} A promise that resolves to a `UploadImage200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/upload-image)
     *
     */
    uploadImage: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Downloads an image from the provided URL and saves it to the generated miniapp public folder. The image will be accessible as a static asset on the deployed miniapp. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Upload image from URL to deployment
     * @param {UploadImageUrlRequest} uploadImageUrlRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<UploadImage200Response>} A promise that resolves to a `UploadImage200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/upload-image-url)
     *
     */
    uploadImageUrl: (uploadImageUrlRequest: UploadImageUrlRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Upsert secrets for a deployment.
     * @summary Upsert deployment secrets
     * @param {UpsertSecretsRequest} upsertSecretsRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<UpsertSecrets200Response>} A promise that resolves to a `UpsertSecrets200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/upsert-secrets)
     *
     */
    upsertSecrets: (upsertSecretsRequest: UpsertSecretsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Retrieves the build logs for a Vercel deployment. Useful for debugging failed deployments. Requires Studio admin authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Get Vercel deployment build logs
     * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
     * @param {number} [fid] Farcaster ID of the user
     * @param {string} [namespace] K8s Namespace name
     * @param {string} [name] Deployment name used to identify the Vercel project. Required if deployment_id not provided.
     * @param {number} [limit] Maximum number of log events to return. Defaults to 100.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<VercelDeploymentLogs200Response>} A promise that resolves to a `VercelDeploymentLogs200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/vercel-deployment-logs)
     *
     */
    vercelDeploymentLogs: (deploymentId?: string, fid?: number, namespace?: string, name?: string, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
    /**
     * Retrieves the status of a Vercel deployment for a miniapp. Looks up the Vercel project ID from the deployment and queries Vercel API for deployment status. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Get Vercel deployment status
     * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
     * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
     * @param {string} [namespace] K8s Namespace name
     * @param {string} [name] Deployment name used to identify the Vercel project. Required if deployment_id not provided.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<VercelDeploymentStatus200Response>} A promise that resolves to a `VercelDeploymentStatus200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/vercel-deployment-status)
     *
     */
    vercelDeploymentStatus: (deploymentId?: string, fid?: number, namespace?: string, name?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
};
/**
 * StudioApi - functional programming interface
 * @export
 */
export declare const StudioApiFp: (configuration?: Configuration) => {
    /**
     * Assigns a custom *.neynar.app subdomain to the user\'s deployed miniapp. The new domain is added to the Vercel project alongside the existing auto-assigned domain. The productionDomain in the database is updated to the custom domain. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Assign a custom subdomain to a deployed miniapp
     * @param {number} fid Farcaster ID of the requesting user
     * @param {AssignCustomDomainRequest} assignCustomDomainRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<AssignCustomDomain200Response>} A promise that resolves to a `AssignCustomDomain200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/assign-custom-domain)
     *
     */
    assignCustomDomain(fid: number, assignCustomDomainRequest: AssignCustomDomainRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AssignCustomDomain200Response>>;
    /**
     * Associates a generated miniapp with a Farcaster account using a JFS-signed domain association. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Set account association
     * @param {AssociateDeploymentRequest} associateDeploymentRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<AssociateDeployment200Response>} A promise that resolves to a `AssociateDeployment200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/associate-deployment)
     *
     */
    associateDeployment(associateDeploymentRequest: AssociateDeploymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AssociateDeployment200Response>>;
    /**
     * Runs Next.js build process for the generated app. If build fails, automatically calls a build-fixer agent to resolve errors. Streams build output and agent responses via Server-Sent Events. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Build generated app with automatic error fixing
     * @param {BuildRequest} buildRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<>} A promise that resolves to a `` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/build)
     *
     */
    build(buildRequest: BuildRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
    /**
     * Cancels an in-progress Claude Code session for a deployment. Safe to call even if no session is active — returns cancelled: false in that case.
     * @summary Cancel an active Claude session for a deployment
     * @param {CancelSessionRequest} cancelSessionRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<CancelSession200Response>} A promise that resolves to a `CancelSession200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/cancel-session)
     *
     */
    cancelSession(cancelSessionRequest: CancelSessionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CancelSession200Response>>;
    /**
     * Checks whether a custom *.neynar.app subdomain is available for assignment. Validates format, checks reserved names, and verifies no other active deployment is using it. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Check if a custom subdomain is available
     * @param {number} fid Farcaster ID of the requesting user
     * @param {string} subdomain The desired subdomain (without .neynar.app suffix). Must be 3-63 characters, lowercase alphanumeric and hyphens only.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<CheckDomainAvailability200Response>} A promise that resolves to a `CheckDomainAvailability200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/check-domain-availability)
     *
     */
    checkDomainAvailability(fid: number, subdomain: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CheckDomainAvailability200Response>>;
    /**
     * Claims the most recent credit drop for the authenticated user. The drop\'s allowance is surfaced dynamically until expires_at and does not mutate extra_credits. Only drops created within the past 24 hours can be claimed.
     * @summary Claim credit drop
     * @param {ClaimCreditDropRequest} claimCreditDropRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<ClaimCreditDrop200Response>} A promise that resolves to a `ClaimCreditDrop200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/claim-credit-drop)
     *
     */
    claimCreditDrop(claimCreditDropRequest: ClaimCreditDropRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClaimCreditDrop200Response>>;
    /**
     * Creates and deploys an instance of the miniapp generator for a user. Requires authentication via API key in the request header. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Create a miniapp generator deployment
     * @param {CreateDeploymentRequest} createDeploymentRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<ListDeployments200ResponseInner>} A promise that resolves to a `ListDeployments200ResponseInner` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/create-deployment)
     *
     */
    createDeployment(createDeploymentRequest: CreateDeploymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDeployments200ResponseInner>>;
    /**
     * Deletes a specific miniapp generator deployment or all deployments for a FID. If deployment_id or name is provided, deletes single deployment. If only FID is provided, deletes all deployments for that FID. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Delete deployment(s)
     * @param {DeleteDeploymentRequest} deleteDeploymentRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<DeleteDeployment200Response>} A promise that resolves to a `DeleteDeployment200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/delete-deployment)
     *
     */
    deleteDeployment(deleteDeploymentRequest: DeleteDeploymentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteDeployment200Response>>;
    /**
     * Deletes rows matching the WHERE conditions. WHERE clause is required to prevent accidental bulk deletes.
     * @summary Delete rows from table
     * @param {string} tableName
     * @param {DeleteRowsRequest} deleteRowsRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<DeleteRows200Response>} A promise that resolves to a `DeleteRows200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/delete-rows)
     *
     */
    deleteRows(tableName: string, deleteRowsRequest: DeleteRowsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteRows200Response>>;
    /**
     * Deletes environment variables (secrets) from a deployment.
     * @summary Delete deployment secrets
     * @param {DeleteSecretsRequest} deleteSecretsRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<UpsertSecrets200Response>} A promise that resolves to a `UpsertSecrets200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/delete-secrets)
     *
     */
    deleteSecrets(deleteSecretsRequest: DeleteSecretsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpsertSecrets200Response>>;
    /**
     * Publishes the generated miniapp to Vercel via GitHub. Creates a GitHub repository, pushes code, creates a Vercel project linked to GitHub, and triggers deployment. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Deploy miniapp to Vercel
     * @param {DeployToVercelRequest} deployToVercelRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<DeployToVercel200Response>} A promise that resolves to a `DeployToVercel200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/deploy-to-vercel)
     *
     */
    deployToVercel(deployToVercelRequest: DeployToVercelRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeployToVercel200Response>>;
    /**
     * Executes a raw SQL query against the deployment database. Only SELECT, WITH, and EXPLAIN queries are allowed. Admin access required.
     * @summary Execute raw SQL query (admin only)
     * @param {ExecuteSqlRequest} executeSqlRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<ExecuteSql200Response>} A promise that resolves to a `ExecuteSql200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/execute-sql)
     *
     */
    executeSql(executeSqlRequest: ExecuteSqlRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ExecuteSql200Response>>;
    /**
     * Downloads the generated miniapp source code as a binary ZIP archive (Content-Type: application/zip). Requires a paid Studio subscription (GROWTH, STUDIO_PLUS, STUDIO_MAX, or INTERNAL). The deployment must be running. The 200 response body is a raw binary stream, not JSON.
     * @summary Export deployment source code as ZIP
     * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
     * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
     * @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
     * @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<>} A promise that resolves to a `` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/export-zip)
     *
     */
    exportZip(deploymentId?: string, fid?: number, name?: string, namespace?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
    /**
     * Retrieves the account-association.json file from a miniapp deployment, which contains the JFS-signed domain association. Requires API key authentication.
     * @summary Get account association of a miniapp
     * @param {string} [deploymentId] Deployment ID
     * @param {string} [namespace] Kubernetes namespace name
     * @param {string} [name] Kubernetes deployment name
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<GetAccountAssociation200Response>} A promise that resolves to a `GetAccountAssociation200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-account-association)
     *
     */
    getAccountAssociation(deploymentId?: string, namespace?: string, name?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountAssociation200Response>>;
    /**
     * Retrieves messages in a specific conversation with cursor-based pagination (newest first). Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Get messages in a conversation
     * @param {string} conversationId Conversation ID
     * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
     * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
     * @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
     * @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
     * @param {boolean} [includeDeleted] Include deleted messages in the response. Defaults to false.
     * @param {number} [limit] Maximum number of messages to return per page. Defaults to 50, max 100.  (Default: 50, Maximum: 100)
     * @param {string} [cursor] Pagination cursor for fetching older messages. Omit to start from most recent.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<GetConversationMessages200Response>} A promise that resolves to a `GetConversationMessages200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-conversation-messages)
     *
     */
    getConversationMessages(conversationId: string, deploymentId?: string, fid?: number, name?: string, namespace?: string, includeDeleted?: boolean, limit?: number, cursor?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetConversationMessages200Response>>;
    /**
     * Returns the most recent credit drop for the authenticated user. Returns the drop regardless of claimed/expired status.
     * @summary Get most recent credit drop
     * @param {number} fid Farcaster ID of the user
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<GetCreditDrop200Response>} A promise that resolves to a `GetCreditDrop200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-credit-drop)
     *
     */
    getCreditDrop(fid: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCreditDrop200Response>>;
    /**
     * Fetches info about a miniapp generator deployment by its deployment_id or name and creator\'s Farcaster ID. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Get deployment info
     * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
     * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
     * @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
     * @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<ListDeployments200ResponseInner>} A promise that resolves to a `ListDeployments200ResponseInner` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-deployment)
     *
     */
    getDeployment(deploymentId?: string, fid?: number, name?: string, namespace?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDeployments200ResponseInner>>;
    /**
     * Retrieves the contents of a specific file from the generated app. Requires Studio admin authentication or FID ownership validation. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Get deployment file contents
     * @param {string} filePath File path relative to gen/
     * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
     * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
     * @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
     * @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<GetDeploymentFile200Response>} A promise that resolves to a `GetDeploymentFile200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-deployment-file)
     *
     */
    getDeploymentFile(filePath: string, deploymentId?: string, fid?: number, name?: string, namespace?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDeploymentFile200Response>>;
    /**
     * Retrieves the dev-status.json file from a miniapp deployment, which tracks the progress of app development phases. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Get dev status of a miniapp
     * @param {string} [deploymentId] Deployment ID
     * @param {string} [namespace] Kubernetes namespace name
     * @param {string} [name] Kubernetes deployment name
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<GetDevStatus200Response>} A promise that resolves to a `GetDevStatus200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-dev-status)
     *
     */
    getDevStatus(deploymentId?: string, namespace?: string, name?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetDevStatus200Response>>;
    /**
     * Retrieves the complete schema for a table including columns, indexes, and foreign keys.
     * @summary Get table schema
     * @param {string} tableName
     * @param {string} deploymentId Deployment ID (UUID)
     * @param {number} [fid] Farcaster ID of the user. Required for non-admin users.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<GetTableSchema200Response>} A promise that resolves to a `GetTableSchema200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-table-schema)
     *
     */
    getTableSchema(tableName: string, deploymentId: string, fid?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetTableSchema200Response>>;
    /**
     * Inserts one or more rows into the specified table. Returns the inserted rows with generated values.
     * @summary Insert rows into table
     * @param {string} tableName
     * @param {InsertRowsRequest} insertRowsRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<InsertRows200Response>} A promise that resolves to a `InsertRows200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/insert-rows)
     *
     */
    insertRows(tableName: string, insertRowsRequest: InsertRowsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InsertRows200Response>>;
    /**
     * Lists all conversations for a specific deployment. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary List conversations for a deployment
     * @param {string} [deploymentId] Deployment ID (UUID). If provided, filters conversations to this deployment only.
     * @param {number} [fid] Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all conversations.
     * @param {string} [name] Kubernetes deployment name. If provided, filters conversations to this deployment only.
     * @param {boolean} [includeDeleted] Include deleted conversations in the response. Defaults to false.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<ListConversations200Response>} A promise that resolves to a `ListConversations200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-conversations)
     *
     */
    listConversations(deploymentId?: string, fid?: number, name?: string, includeDeleted?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListConversations200Response>>;
    /**
     * Lists files in a directory of the generated app. Requires Studio admin authentication or FID ownership validation. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary List deployment files
     * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
     * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
     * @param {string} [name] Kubernetes deployment name. Required if deployment_id not provided.
     * @param {string} [namespace] Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
     * @param {string} [directory] Directory path relative to gen/ (defaults to root)
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<ListDeploymentFiles200Response>} A promise that resolves to a `ListDeploymentFiles200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-deployment-files)
     *
     */
    listDeploymentFiles(deploymentId?: string, fid?: number, name?: string, namespace?: string, directory?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListDeploymentFiles200Response>>;
    /**
     * Lists all miniapp generator deployments for a user. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary List deployments
     * @param {number} [fid] Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all deployments.
     * @param {number} [limit] Maximum number of deployments to return. Defaults to 50, max 1000.  (Default: 50, Maximum: 1000)
     * @param {number} [offset] Number of deployments to skip for pagination. Defaults to 0.
     * @param {string} [query] Search string to filter deployments by name, display name, or FID.
     * @param {ListDeploymentsSortByEnum} [sortBy] Field to sort deployments by. Defaults to updated_at (most recently updated first).
     * @param {boolean} [includeDeleted] Include deleted deployments in the response. Defaults to false.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<Array<ListDeployments200ResponseInner>>} A promise that resolves to a `Array<ListDeployments200ResponseInner>` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-deployments)
     *
     */
    listDeployments(fid?: number, limit?: number, offset?: number, query?: string, sortBy?: ListDeploymentsSortByEnum, includeDeleted?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ListDeployments200ResponseInner>>>;
    /**
     * Retrieves all secrets for a deployment.
     * @summary List deployment secrets
     * @param {string} deploymentId Deployment ID to list secrets for
     * @param {string} [key] Optional filter by environment variable name
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<ListSecrets200Response>} A promise that resolves to a `ListSecrets200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-secrets)
     *
     */
    listSecrets(deploymentId: string, key?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSecrets200Response>>;
    /**
     * Lists all tables and views in the deployment database, excluding system tables.
     * @summary List all tables in deployment database
     * @param {string} deploymentId Deployment ID (UUID)
     * @param {number} [fid] Farcaster ID of the user. Required for non-admin users.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<ListTables200Response>} A promise that resolves to a `ListTables200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-tables)
     *
     */
    listTables(deploymentId: string, fid?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTables200Response>>;
    /**
     * Sends a prompt to a specific miniapp generator deployment and returns a streaming response using Server-Sent Events. The response is a continuous stream of Server-Sent Events, not a single JSON payload. Each event contains a JSON object with type, message, and other fields specific to the message type. Requires authentication via API key in the request header. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Prompt a deployment with streaming response
     * @param {PromptDeploymentStreamRequest} promptDeploymentStreamRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<>} A promise that resolves to a `` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/prompt-deployment-stream)
     *
     */
    promptDeploymentStream(promptDeploymentStreamRequest: PromptDeploymentStreamRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
    /**
     * Provisions a Neon PostgreSQL database for the deployment, or validates and attaches a user-provided (BYO) connection string. Idempotent — returns success if already provisioned.
     * @summary Provision a database for a deployment
     * @param {ProvisionRequest} provisionRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<Provision200Response>} A promise that resolves to a `Provision200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/provision)
     *
     */
    provision(provisionRequest: ProvisionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Provision200Response>>;
    /**
     * Query data from a table with pagination and sorting.
     * @summary Query table data
     * @param {QueryTableRequest} queryTableRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<QueryTable200Response>} A promise that resolves to a `QueryTable200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/query-table)
     *
     */
    queryTable(queryTableRequest: QueryTableRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<QueryTable200Response>>;
    /**
     * Attempts to recover a broken dev server. Phase 1: reads dev server error logs and sends them to an AI agent for fixing, then waits for HMR to auto-rebuild. Phase 2: if HMR fails, falls back to a full npm build with AI retry loop. Streams progress events via Server-Sent Events. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Recover dev server with two-phase strategy
     * @param {RecoverRequest} recoverRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<>} A promise that resolves to a `` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/recover)
     *
     */
    recover(recoverRequest: RecoverRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
    /**
     * Called by miniapp-generator instances to report Claude SDK usage. Idempotent — duplicate submissions (same idempotency_key) are accepted but not double-counted.
     * @summary Report studio compute unit usage
     * @param {ReportStudioUsageRequest} reportStudioUsageRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<ReportStudioUsage200Response>} A promise that resolves to a `ReportStudioUsage200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/report-studio-usage)
     *
     */
    reportStudioUsage(reportStudioUsageRequest: ReportStudioUsageRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReportStudioUsage200Response>>;
    /**
     * Starts the Next.js development server for the generated miniapp. Requires Studio admin authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Start generated miniapp
     * @param {StartAppRequest} startAppRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<StartApp200Response>} A promise that resolves to a `StartApp200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/start-app)
     *
     */
    startApp(startAppRequest: StartAppRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StartApp200Response>>;
    /**
     * Stops the Next.js development server for the generated miniapp. Requires Studio admin authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Stop generated miniapp
     * @param {StartAppRequest} startAppRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<StartApp200Response>} A promise that resolves to a `StartApp200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/stop-app)
     *
     */
    stopApp(startAppRequest: StartAppRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StartApp200Response>>;
    /**
     * Updates rows matching the WHERE conditions. WHERE clause is required to prevent accidental bulk updates.
     * @summary Update rows in table
     * @param {string} tableName
     * @param {UpdateRowsRequest} updateRowsRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<UpdateRows200Response>} A promise that resolves to a `UpdateRows200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/update-rows)
     *
     */
    updateRows(tableName: string, updateRowsRequest: UpdateRowsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateRows200Response>>;
    /**
     * Uploads an image file to the generated miniapp public folder. The image will be accessible as a static asset on the deployed miniapp. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Upload image to deployment
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<UploadImage200Response>} A promise that resolves to a `UploadImage200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/upload-image)
     *
     */
    uploadImage(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UploadImage200Response>>;
    /**
     * Downloads an image from the provided URL and saves it to the generated miniapp public folder. The image will be accessible as a static asset on the deployed miniapp. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Upload image from URL to deployment
     * @param {UploadImageUrlRequest} uploadImageUrlRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<UploadImage200Response>} A promise that resolves to a `UploadImage200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/upload-image-url)
     *
     */
    uploadImageUrl(uploadImageUrlRequest: UploadImageUrlRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UploadImage200Response>>;
    /**
     * Upsert secrets for a deployment.
     * @summary Upsert deployment secrets
     * @param {UpsertSecretsRequest} upsertSecretsRequest
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<UpsertSecrets200Response>} A promise that resolves to a `UpsertSecrets200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/upsert-secrets)
     *
     */
    upsertSecrets(upsertSecretsRequest: UpsertSecretsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpsertSecrets200Response>>;
    /**
     * Retrieves the build logs for a Vercel deployment. Useful for debugging failed deployments. Requires Studio admin authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Get Vercel deployment build logs
     * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
     * @param {number} [fid] Farcaster ID of the user
     * @param {string} [namespace] K8s Namespace name
     * @param {string} [name] Deployment name used to identify the Vercel project. Required if deployment_id not provided.
     * @param {number} [limit] Maximum number of log events to return. Defaults to 100.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<VercelDeploymentLogs200Response>} A promise that resolves to a `VercelDeploymentLogs200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/vercel-deployment-logs)
     *
     */
    vercelDeploymentLogs(deploymentId?: string, fid?: number, namespace?: string, name?: string, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VercelDeploymentLogs200Response>>;
    /**
     * Retrieves the status of a Vercel deployment for a miniapp. Looks up the Vercel project ID from the deployment and queries Vercel API for deployment status. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Get Vercel deployment status
     * @param {string} [deploymentId] Deployment ID (UUID). Required if name not provided.
     * @param {number} [fid] Farcaster ID of the user; if not provided, namespace must be provided
     * @param {string} [namespace] K8s Namespace name
     * @param {string} [name] Deployment name used to identify the Vercel project. Required if deployment_id not provided.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<VercelDeploymentStatus200Response>} A promise that resolves to a `VercelDeploymentStatus200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/vercel-deployment-status)
     *
     */
    vercelDeploymentStatus(deploymentId?: string, fid?: number, namespace?: string, name?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VercelDeploymentStatus200Response>>;
};
/**
 * StudioApi - factory interface
 * @export
 */
export declare const StudioApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
    /**
     * Assigns a custom *.neynar.app subdomain to the user\'s deployed miniapp. The new domain is added to the Vercel project alongside the existing auto-assigned domain. The productionDomain in the database is updated to the custom domain. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Assign a custom subdomain to a deployed miniapp
     * @param {StudioApiAssignCustomDomainRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<AssignCustomDomain200Response>} A promise that resolves to a `AssignCustomDomain200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/assign-custom-domain)
     *
     */
    assignCustomDomain(requestParameters: StudioApiAssignCustomDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<AssignCustomDomain200Response>;
    /**
     * Associates a generated miniapp with a Farcaster account using a JFS-signed domain association. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Set account association
     * @param {StudioApiAssociateDeploymentRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<AssociateDeployment200Response>} A promise that resolves to a `AssociateDeployment200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/associate-deployment)
     *
     */
    associateDeployment(requestParameters: StudioApiAssociateDeploymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<AssociateDeployment200Response>;
    /**
     * Runs Next.js build process for the generated app. If build fails, automatically calls a build-fixer agent to resolve errors. Streams build output and agent responses via Server-Sent Events. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Build generated app with automatic error fixing
     * @param {StudioApiBuildRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<>} A promise that resolves to a `` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/build)
     *
     */
    build(requestParameters: StudioApiBuildRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
    /**
     * Cancels an in-progress Claude Code session for a deployment. Safe to call even if no session is active — returns cancelled: false in that case.
     * @summary Cancel an active Claude session for a deployment
     * @param {StudioApiCancelSessionRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<CancelSession200Response>} A promise that resolves to a `CancelSession200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/cancel-session)
     *
     */
    cancelSession(requestParameters: StudioApiCancelSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CancelSession200Response>;
    /**
     * Checks whether a custom *.neynar.app subdomain is available for assignment. Validates format, checks reserved names, and verifies no other active deployment is using it. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Check if a custom subdomain is available
     * @param {StudioApiCheckDomainAvailabilityRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<CheckDomainAvailability200Response>} A promise that resolves to a `CheckDomainAvailability200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/check-domain-availability)
     *
     */
    checkDomainAvailability(requestParameters: StudioApiCheckDomainAvailabilityRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckDomainAvailability200Response>;
    /**
     * Claims the most recent credit drop for the authenticated user. The drop\'s allowance is surfaced dynamically until expires_at and does not mutate extra_credits. Only drops created within the past 24 hours can be claimed.
     * @summary Claim credit drop
     * @param {StudioApiClaimCreditDropRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<ClaimCreditDrop200Response>} A promise that resolves to a `ClaimCreditDrop200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/claim-credit-drop)
     *
     */
    claimCreditDrop(requestParameters: StudioApiClaimCreditDropRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClaimCreditDrop200Response>;
    /**
     * Creates and deploys an instance of the miniapp generator for a user. Requires authentication via API key in the request header. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Create a miniapp generator deployment
     * @param {StudioApiCreateDeploymentRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<ListDeployments200ResponseInner>} A promise that resolves to a `ListDeployments200ResponseInner` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/create-deployment)
     *
     */
    createDeployment(requestParameters: StudioApiCreateDeploymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListDeployments200ResponseInner>;
    /**
     * Deletes a specific miniapp generator deployment or all deployments for a FID. If deployment_id or name is provided, deletes single deployment. If only FID is provided, deletes all deployments for that FID. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Delete deployment(s)
     * @param {StudioApiDeleteDeploymentRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<DeleteDeployment200Response>} A promise that resolves to a `DeleteDeployment200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/delete-deployment)
     *
     */
    deleteDeployment(requestParameters: StudioApiDeleteDeploymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteDeployment200Response>;
    /**
     * Deletes rows matching the WHERE conditions. WHERE clause is required to prevent accidental bulk deletes.
     * @summary Delete rows from table
     * @param {StudioApiDeleteRowsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<DeleteRows200Response>} A promise that resolves to a `DeleteRows200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/delete-rows)
     *
     */
    deleteRows(requestParameters: StudioApiDeleteRowsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteRows200Response>;
    /**
     * Deletes environment variables (secrets) from a deployment.
     * @summary Delete deployment secrets
     * @param {StudioApiDeleteSecretsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<UpsertSecrets200Response>} A promise that resolves to a `UpsertSecrets200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/delete-secrets)
     *
     */
    deleteSecrets(requestParameters: StudioApiDeleteSecretsRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpsertSecrets200Response>;
    /**
     * Publishes the generated miniapp to Vercel via GitHub. Creates a GitHub repository, pushes code, creates a Vercel project linked to GitHub, and triggers deployment. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Deploy miniapp to Vercel
     * @param {StudioApiDeployToVercelRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<DeployToVercel200Response>} A promise that resolves to a `DeployToVercel200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/deploy-to-vercel)
     *
     */
    deployToVercel(requestParameters: StudioApiDeployToVercelRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeployToVercel200Response>;
    /**
     * Executes a raw SQL query against the deployment database. Only SELECT, WITH, and EXPLAIN queries are allowed. Admin access required.
     * @summary Execute raw SQL query (admin only)
     * @param {StudioApiExecuteSqlRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<ExecuteSql200Response>} A promise that resolves to a `ExecuteSql200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/execute-sql)
     *
     */
    executeSql(requestParameters: StudioApiExecuteSqlRequest, options?: RawAxiosRequestConfig): AxiosPromise<ExecuteSql200Response>;
    /**
     * Downloads the generated miniapp source code as a binary ZIP archive (Content-Type: application/zip). Requires a paid Studio subscription (GROWTH, STUDIO_PLUS, STUDIO_MAX, or INTERNAL). The deployment must be running. The 200 response body is a raw binary stream, not JSON.
     * @summary Export deployment source code as ZIP
     * @param {StudioApiExportZipRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<>} A promise that resolves to a `` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/export-zip)
     *
     */
    exportZip(requestParameters?: StudioApiExportZipRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
    /**
     * Retrieves the account-association.json file from a miniapp deployment, which contains the JFS-signed domain association. Requires API key authentication.
     * @summary Get account association of a miniapp
     * @param {StudioApiGetAccountAssociationRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<GetAccountAssociation200Response>} A promise that resolves to a `GetAccountAssociation200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-account-association)
     *
     */
    getAccountAssociation(requestParameters?: StudioApiGetAccountAssociationRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountAssociation200Response>;
    /**
     * Retrieves messages in a specific conversation with cursor-based pagination (newest first). Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Get messages in a conversation
     * @param {StudioApiGetConversationMessagesRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<GetConversationMessages200Response>} A promise that resolves to a `GetConversationMessages200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-conversation-messages)
     *
     */
    getConversationMessages(requestParameters: StudioApiGetConversationMessagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetConversationMessages200Response>;
    /**
     * Returns the most recent credit drop for the authenticated user. Returns the drop regardless of claimed/expired status.
     * @summary Get most recent credit drop
     * @param {StudioApiGetCreditDropRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<GetCreditDrop200Response>} A promise that resolves to a `GetCreditDrop200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-credit-drop)
     *
     */
    getCreditDrop(requestParameters: StudioApiGetCreditDropRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetCreditDrop200Response>;
    /**
     * Fetches info about a miniapp generator deployment by its deployment_id or name and creator\'s Farcaster ID. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Get deployment info
     * @param {StudioApiGetDeploymentRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<ListDeployments200ResponseInner>} A promise that resolves to a `ListDeployments200ResponseInner` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-deployment)
     *
     */
    getDeployment(requestParameters?: StudioApiGetDeploymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListDeployments200ResponseInner>;
    /**
     * Retrieves the contents of a specific file from the generated app. Requires Studio admin authentication or FID ownership validation. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Get deployment file contents
     * @param {StudioApiGetDeploymentFileRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<GetDeploymentFile200Response>} A promise that resolves to a `GetDeploymentFile200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-deployment-file)
     *
     */
    getDeploymentFile(requestParameters: StudioApiGetDeploymentFileRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetDeploymentFile200Response>;
    /**
     * Retrieves the dev-status.json file from a miniapp deployment, which tracks the progress of app development phases. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Get dev status of a miniapp
     * @param {StudioApiGetDevStatusRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<GetDevStatus200Response>} A promise that resolves to a `GetDevStatus200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-dev-status)
     *
     */
    getDevStatus(requestParameters?: StudioApiGetDevStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetDevStatus200Response>;
    /**
     * Retrieves the complete schema for a table including columns, indexes, and foreign keys.
     * @summary Get table schema
     * @param {StudioApiGetTableSchemaRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<GetTableSchema200Response>} A promise that resolves to a `GetTableSchema200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-table-schema)
     *
     */
    getTableSchema(requestParameters: StudioApiGetTableSchemaRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetTableSchema200Response>;
    /**
     * Inserts one or more rows into the specified table. Returns the inserted rows with generated values.
     * @summary Insert rows into table
     * @param {StudioApiInsertRowsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<InsertRows200Response>} A promise that resolves to a `InsertRows200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/insert-rows)
     *
     */
    insertRows(requestParameters: StudioApiInsertRowsRequest, options?: RawAxiosRequestConfig): AxiosPromise<InsertRows200Response>;
    /**
     * Lists all conversations for a specific deployment. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary List conversations for a deployment
     * @param {StudioApiListConversationsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<ListConversations200Response>} A promise that resolves to a `ListConversations200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-conversations)
     *
     */
    listConversations(requestParameters?: StudioApiListConversationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListConversations200Response>;
    /**
     * Lists files in a directory of the generated app. Requires Studio admin authentication or FID ownership validation. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary List deployment files
     * @param {StudioApiListDeploymentFilesRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<ListDeploymentFiles200Response>} A promise that resolves to a `ListDeploymentFiles200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-deployment-files)
     *
     */
    listDeploymentFiles(requestParameters?: StudioApiListDeploymentFilesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListDeploymentFiles200Response>;
    /**
     * Lists all miniapp generator deployments for a user. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary List deployments
     * @param {StudioApiListDeploymentsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<Array<ListDeployments200ResponseInner>>} A promise that resolves to a `Array<ListDeployments200ResponseInner>` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-deployments)
     *
     */
    listDeployments(requestParameters?: StudioApiListDeploymentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ListDeployments200ResponseInner>>;
    /**
     * Retrieves all secrets for a deployment.
     * @summary List deployment secrets
     * @param {StudioApiListSecretsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<ListSecrets200Response>} A promise that resolves to a `ListSecrets200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-secrets)
     *
     */
    listSecrets(requestParameters: StudioApiListSecretsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListSecrets200Response>;
    /**
     * Lists all tables and views in the deployment database, excluding system tables.
     * @summary List all tables in deployment database
     * @param {StudioApiListTablesRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<ListTables200Response>} A promise that resolves to a `ListTables200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-tables)
     *
     */
    listTables(requestParameters: StudioApiListTablesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListTables200Response>;
    /**
     * Sends a prompt to a specific miniapp generator deployment and returns a streaming response using Server-Sent Events. The response is a continuous stream of Server-Sent Events, not a single JSON payload. Each event contains a JSON object with type, message, and other fields specific to the message type. Requires authentication via API key in the request header. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Prompt a deployment with streaming response
     * @param {StudioApiPromptDeploymentStreamRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<>} A promise that resolves to a `` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/prompt-deployment-stream)
     *
     */
    promptDeploymentStream(requestParameters: StudioApiPromptDeploymentStreamRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
    /**
     * Provisions a Neon PostgreSQL database for the deployment, or validates and attaches a user-provided (BYO) connection string. Idempotent — returns success if already provisioned.
     * @summary Provision a database for a deployment
     * @param {StudioApiProvisionRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<Provision200Response>} A promise that resolves to a `Provision200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/provision)
     *
     */
    provision(requestParameters: StudioApiProvisionRequest, options?: RawAxiosRequestConfig): AxiosPromise<Provision200Response>;
    /**
     * Query data from a table with pagination and sorting.
     * @summary Query table data
     * @param {StudioApiQueryTableRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<QueryTable200Response>} A promise that resolves to a `QueryTable200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/query-table)
     *
     */
    queryTable(requestParameters: StudioApiQueryTableRequest, options?: RawAxiosRequestConfig): AxiosPromise<QueryTable200Response>;
    /**
     * Attempts to recover a broken dev server. Phase 1: reads dev server error logs and sends them to an AI agent for fixing, then waits for HMR to auto-rebuild. Phase 2: if HMR fails, falls back to a full npm build with AI retry loop. Streams progress events via Server-Sent Events. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Recover dev server with two-phase strategy
     * @param {StudioApiRecoverRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<>} A promise that resolves to a `` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/recover)
     *
     */
    recover(requestParameters: StudioApiRecoverRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
    /**
     * Called by miniapp-generator instances to report Claude SDK usage. Idempotent — duplicate submissions (same idempotency_key) are accepted but not double-counted.
     * @summary Report studio compute unit usage
     * @param {StudioApiReportStudioUsageRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<ReportStudioUsage200Response>} A promise that resolves to a `ReportStudioUsage200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/report-studio-usage)
     *
     */
    reportStudioUsage(requestParameters: StudioApiReportStudioUsageRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReportStudioUsage200Response>;
    /**
     * Starts the Next.js development server for the generated miniapp. Requires Studio admin authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Start generated miniapp
     * @param {StudioApiStartAppRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<StartApp200Response>} A promise that resolves to a `StartApp200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/start-app)
     *
     */
    startApp(requestParameters: StudioApiStartAppRequest, options?: RawAxiosRequestConfig): AxiosPromise<StartApp200Response>;
    /**
     * Stops the Next.js development server for the generated miniapp. Requires Studio admin authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Stop generated miniapp
     * @param {StudioApiStopAppRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<StartApp200Response>} A promise that resolves to a `StartApp200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/stop-app)
     *
     */
    stopApp(requestParameters: StudioApiStopAppRequest, options?: RawAxiosRequestConfig): AxiosPromise<StartApp200Response>;
    /**
     * Updates rows matching the WHERE conditions. WHERE clause is required to prevent accidental bulk updates.
     * @summary Update rows in table
     * @param {StudioApiUpdateRowsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<UpdateRows200Response>} A promise that resolves to a `UpdateRows200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/update-rows)
     *
     */
    updateRows(requestParameters: StudioApiUpdateRowsRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateRows200Response>;
    /**
     * Uploads an image file to the generated miniapp public folder. The image will be accessible as a static asset on the deployed miniapp. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Upload image to deployment
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<UploadImage200Response>} A promise that resolves to a `UploadImage200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/upload-image)
     *
     */
    uploadImage(options?: RawAxiosRequestConfig): AxiosPromise<UploadImage200Response>;
    /**
     * Downloads an image from the provided URL and saves it to the generated miniapp public folder. The image will be accessible as a static asset on the deployed miniapp. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Upload image from URL to deployment
     * @param {StudioApiUploadImageUrlRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<UploadImage200Response>} A promise that resolves to a `UploadImage200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/upload-image-url)
     *
     */
    uploadImageUrl(requestParameters: StudioApiUploadImageUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<UploadImage200Response>;
    /**
     * Upsert secrets for a deployment.
     * @summary Upsert deployment secrets
     * @param {StudioApiUpsertSecretsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<UpsertSecrets200Response>} A promise that resolves to a `UpsertSecrets200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/upsert-secrets)
     *
     */
    upsertSecrets(requestParameters: StudioApiUpsertSecretsRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpsertSecrets200Response>;
    /**
     * Retrieves the build logs for a Vercel deployment. Useful for debugging failed deployments. Requires Studio admin authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Get Vercel deployment build logs
     * @param {StudioApiVercelDeploymentLogsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<VercelDeploymentLogs200Response>} A promise that resolves to a `VercelDeploymentLogs200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/vercel-deployment-logs)
     *
     */
    vercelDeploymentLogs(requestParameters?: StudioApiVercelDeploymentLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<VercelDeploymentLogs200Response>;
    /**
     * Retrieves the status of a Vercel deployment for a miniapp. Looks up the Vercel project ID from the deployment and queries Vercel API for deployment status. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Get Vercel deployment status
     * @param {StudioApiVercelDeploymentStatusRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @returns {Promise<VercelDeploymentStatus200Response>} A promise that resolves to a `VercelDeploymentStatus200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/vercel-deployment-status)
     *
     */
    vercelDeploymentStatus(requestParameters?: StudioApiVercelDeploymentStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<VercelDeploymentStatus200Response>;
};
/**
 * StudioApi - interface
 * @export
 * @interface StudioApi
 */
export interface StudioApiInterface {
    /**
     * Assigns a custom *.neynar.app subdomain to the user\'s deployed miniapp. The new domain is added to the Vercel project alongside the existing auto-assigned domain. The productionDomain in the database is updated to the custom domain. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Assign a custom subdomain to a deployed miniapp
     * @param {StudioApiAssignCustomDomainRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<AssignCustomDomain200Response>} A promise that resolves to a `AssignCustomDomain200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/assign-custom-domain)
     *
     */
    assignCustomDomain(requestParameters: StudioApiAssignCustomDomainRequest, options?: RawAxiosRequestConfig): AxiosPromise<AssignCustomDomain200Response>;
    /**
     * Associates a generated miniapp with a Farcaster account using a JFS-signed domain association. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Set account association
     * @param {StudioApiAssociateDeploymentRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<AssociateDeployment200Response>} A promise that resolves to a `AssociateDeployment200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/associate-deployment)
     *
     */
    associateDeployment(requestParameters: StudioApiAssociateDeploymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<AssociateDeployment200Response>;
    /**
     * Runs Next.js build process for the generated app. If build fails, automatically calls a build-fixer agent to resolve errors. Streams build output and agent responses via Server-Sent Events. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Build generated app with automatic error fixing
     * @param {StudioApiBuildRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<>} A promise that resolves to a `` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/build)
     *
     */
    build(requestParameters: StudioApiBuildRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
    /**
     * Cancels an in-progress Claude Code session for a deployment. Safe to call even if no session is active — returns cancelled: false in that case.
     * @summary Cancel an active Claude session for a deployment
     * @param {StudioApiCancelSessionRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<CancelSession200Response>} A promise that resolves to a `CancelSession200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/cancel-session)
     *
     */
    cancelSession(requestParameters: StudioApiCancelSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<CancelSession200Response>;
    /**
     * Checks whether a custom *.neynar.app subdomain is available for assignment. Validates format, checks reserved names, and verifies no other active deployment is using it. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Check if a custom subdomain is available
     * @param {StudioApiCheckDomainAvailabilityRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<CheckDomainAvailability200Response>} A promise that resolves to a `CheckDomainAvailability200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/check-domain-availability)
     *
     */
    checkDomainAvailability(requestParameters: StudioApiCheckDomainAvailabilityRequest, options?: RawAxiosRequestConfig): AxiosPromise<CheckDomainAvailability200Response>;
    /**
     * Claims the most recent credit drop for the authenticated user. The drop\'s allowance is surfaced dynamically until expires_at and does not mutate extra_credits. Only drops created within the past 24 hours can be claimed.
     * @summary Claim credit drop
     * @param {StudioApiClaimCreditDropRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<ClaimCreditDrop200Response>} A promise that resolves to a `ClaimCreditDrop200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/claim-credit-drop)
     *
     */
    claimCreditDrop(requestParameters: StudioApiClaimCreditDropRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClaimCreditDrop200Response>;
    /**
     * Creates and deploys an instance of the miniapp generator for a user. Requires authentication via API key in the request header. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Create a miniapp generator deployment
     * @param {StudioApiCreateDeploymentRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<ListDeployments200ResponseInner>} A promise that resolves to a `ListDeployments200ResponseInner` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/create-deployment)
     *
     */
    createDeployment(requestParameters: StudioApiCreateDeploymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListDeployments200ResponseInner>;
    /**
     * Deletes a specific miniapp generator deployment or all deployments for a FID. If deployment_id or name is provided, deletes single deployment. If only FID is provided, deletes all deployments for that FID. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Delete deployment(s)
     * @param {StudioApiDeleteDeploymentRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<DeleteDeployment200Response>} A promise that resolves to a `DeleteDeployment200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/delete-deployment)
     *
     */
    deleteDeployment(requestParameters: StudioApiDeleteDeploymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteDeployment200Response>;
    /**
     * Deletes rows matching the WHERE conditions. WHERE clause is required to prevent accidental bulk deletes.
     * @summary Delete rows from table
     * @param {StudioApiDeleteRowsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<DeleteRows200Response>} A promise that resolves to a `DeleteRows200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/delete-rows)
     *
     */
    deleteRows(requestParameters: StudioApiDeleteRowsRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeleteRows200Response>;
    /**
     * Deletes environment variables (secrets) from a deployment.
     * @summary Delete deployment secrets
     * @param {StudioApiDeleteSecretsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<UpsertSecrets200Response>} A promise that resolves to a `UpsertSecrets200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/delete-secrets)
     *
     */
    deleteSecrets(requestParameters: StudioApiDeleteSecretsRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpsertSecrets200Response>;
    /**
     * Publishes the generated miniapp to Vercel via GitHub. Creates a GitHub repository, pushes code, creates a Vercel project linked to GitHub, and triggers deployment. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Deploy miniapp to Vercel
     * @param {StudioApiDeployToVercelRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<DeployToVercel200Response>} A promise that resolves to a `DeployToVercel200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/deploy-to-vercel)
     *
     */
    deployToVercel(requestParameters: StudioApiDeployToVercelRequest, options?: RawAxiosRequestConfig): AxiosPromise<DeployToVercel200Response>;
    /**
     * Executes a raw SQL query against the deployment database. Only SELECT, WITH, and EXPLAIN queries are allowed. Admin access required.
     * @summary Execute raw SQL query (admin only)
     * @param {StudioApiExecuteSqlRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<ExecuteSql200Response>} A promise that resolves to a `ExecuteSql200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/execute-sql)
     *
     */
    executeSql(requestParameters: StudioApiExecuteSqlRequest, options?: RawAxiosRequestConfig): AxiosPromise<ExecuteSql200Response>;
    /**
     * Downloads the generated miniapp source code as a binary ZIP archive (Content-Type: application/zip). Requires a paid Studio subscription (GROWTH, STUDIO_PLUS, STUDIO_MAX, or INTERNAL). The deployment must be running. The 200 response body is a raw binary stream, not JSON.
     * @summary Export deployment source code as ZIP
     * @param {StudioApiExportZipRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<>} A promise that resolves to a `` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/export-zip)
     *
     */
    exportZip(requestParameters?: StudioApiExportZipRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
    /**
     * Retrieves the account-association.json file from a miniapp deployment, which contains the JFS-signed domain association. Requires API key authentication.
     * @summary Get account association of a miniapp
     * @param {StudioApiGetAccountAssociationRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<GetAccountAssociation200Response>} A promise that resolves to a `GetAccountAssociation200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-account-association)
     *
     */
    getAccountAssociation(requestParameters?: StudioApiGetAccountAssociationRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountAssociation200Response>;
    /**
     * Retrieves messages in a specific conversation with cursor-based pagination (newest first). Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Get messages in a conversation
     * @param {StudioApiGetConversationMessagesRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<GetConversationMessages200Response>} A promise that resolves to a `GetConversationMessages200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-conversation-messages)
     *
     */
    getConversationMessages(requestParameters: StudioApiGetConversationMessagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetConversationMessages200Response>;
    /**
     * Returns the most recent credit drop for the authenticated user. Returns the drop regardless of claimed/expired status.
     * @summary Get most recent credit drop
     * @param {StudioApiGetCreditDropRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<GetCreditDrop200Response>} A promise that resolves to a `GetCreditDrop200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-credit-drop)
     *
     */
    getCreditDrop(requestParameters: StudioApiGetCreditDropRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetCreditDrop200Response>;
    /**
     * Fetches info about a miniapp generator deployment by its deployment_id or name and creator\'s Farcaster ID. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Get deployment info
     * @param {StudioApiGetDeploymentRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<ListDeployments200ResponseInner>} A promise that resolves to a `ListDeployments200ResponseInner` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-deployment)
     *
     */
    getDeployment(requestParameters?: StudioApiGetDeploymentRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListDeployments200ResponseInner>;
    /**
     * Retrieves the contents of a specific file from the generated app. Requires Studio admin authentication or FID ownership validation. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Get deployment file contents
     * @param {StudioApiGetDeploymentFileRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<GetDeploymentFile200Response>} A promise that resolves to a `GetDeploymentFile200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-deployment-file)
     *
     */
    getDeploymentFile(requestParameters: StudioApiGetDeploymentFileRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetDeploymentFile200Response>;
    /**
     * Retrieves the dev-status.json file from a miniapp deployment, which tracks the progress of app development phases. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Get dev status of a miniapp
     * @param {StudioApiGetDevStatusRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<GetDevStatus200Response>} A promise that resolves to a `GetDevStatus200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-dev-status)
     *
     */
    getDevStatus(requestParameters?: StudioApiGetDevStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetDevStatus200Response>;
    /**
     * Retrieves the complete schema for a table including columns, indexes, and foreign keys.
     * @summary Get table schema
     * @param {StudioApiGetTableSchemaRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<GetTableSchema200Response>} A promise that resolves to a `GetTableSchema200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-table-schema)
     *
     */
    getTableSchema(requestParameters: StudioApiGetTableSchemaRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetTableSchema200Response>;
    /**
     * Inserts one or more rows into the specified table. Returns the inserted rows with generated values.
     * @summary Insert rows into table
     * @param {StudioApiInsertRowsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<InsertRows200Response>} A promise that resolves to a `InsertRows200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/insert-rows)
     *
     */
    insertRows(requestParameters: StudioApiInsertRowsRequest, options?: RawAxiosRequestConfig): AxiosPromise<InsertRows200Response>;
    /**
     * Lists all conversations for a specific deployment. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary List conversations for a deployment
     * @param {StudioApiListConversationsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<ListConversations200Response>} A promise that resolves to a `ListConversations200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-conversations)
     *
     */
    listConversations(requestParameters?: StudioApiListConversationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListConversations200Response>;
    /**
     * Lists files in a directory of the generated app. Requires Studio admin authentication or FID ownership validation. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary List deployment files
     * @param {StudioApiListDeploymentFilesRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<ListDeploymentFiles200Response>} A promise that resolves to a `ListDeploymentFiles200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-deployment-files)
     *
     */
    listDeploymentFiles(requestParameters?: StudioApiListDeploymentFilesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListDeploymentFiles200Response>;
    /**
     * Lists all miniapp generator deployments for a user. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary List deployments
     * @param {StudioApiListDeploymentsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<Array<ListDeployments200ResponseInner>>} A promise that resolves to a `Array<ListDeployments200ResponseInner>` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-deployments)
     *
     */
    listDeployments(requestParameters?: StudioApiListDeploymentsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ListDeployments200ResponseInner>>;
    /**
     * Retrieves all secrets for a deployment.
     * @summary List deployment secrets
     * @param {StudioApiListSecretsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<ListSecrets200Response>} A promise that resolves to a `ListSecrets200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-secrets)
     *
     */
    listSecrets(requestParameters: StudioApiListSecretsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListSecrets200Response>;
    /**
     * Lists all tables and views in the deployment database, excluding system tables.
     * @summary List all tables in deployment database
     * @param {StudioApiListTablesRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<ListTables200Response>} A promise that resolves to a `ListTables200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-tables)
     *
     */
    listTables(requestParameters: StudioApiListTablesRequest, options?: RawAxiosRequestConfig): AxiosPromise<ListTables200Response>;
    /**
     * Sends a prompt to a specific miniapp generator deployment and returns a streaming response using Server-Sent Events. The response is a continuous stream of Server-Sent Events, not a single JSON payload. Each event contains a JSON object with type, message, and other fields specific to the message type. Requires authentication via API key in the request header. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Prompt a deployment with streaming response
     * @param {StudioApiPromptDeploymentStreamRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<>} A promise that resolves to a `` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/prompt-deployment-stream)
     *
     */
    promptDeploymentStream(requestParameters: StudioApiPromptDeploymentStreamRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
    /**
     * Provisions a Neon PostgreSQL database for the deployment, or validates and attaches a user-provided (BYO) connection string. Idempotent — returns success if already provisioned.
     * @summary Provision a database for a deployment
     * @param {StudioApiProvisionRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<Provision200Response>} A promise that resolves to a `Provision200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/provision)
     *
     */
    provision(requestParameters: StudioApiProvisionRequest, options?: RawAxiosRequestConfig): AxiosPromise<Provision200Response>;
    /**
     * Query data from a table with pagination and sorting.
     * @summary Query table data
     * @param {StudioApiQueryTableRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<QueryTable200Response>} A promise that resolves to a `QueryTable200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/query-table)
     *
     */
    queryTable(requestParameters: StudioApiQueryTableRequest, options?: RawAxiosRequestConfig): AxiosPromise<QueryTable200Response>;
    /**
     * Attempts to recover a broken dev server. Phase 1: reads dev server error logs and sends them to an AI agent for fixing, then waits for HMR to auto-rebuild. Phase 2: if HMR fails, falls back to a full npm build with AI retry loop. Streams progress events via Server-Sent Events. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Recover dev server with two-phase strategy
     * @param {StudioApiRecoverRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<>} A promise that resolves to a `` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/recover)
     *
     */
    recover(requestParameters: StudioApiRecoverRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
    /**
     * Called by miniapp-generator instances to report Claude SDK usage. Idempotent — duplicate submissions (same idempotency_key) are accepted but not double-counted.
     * @summary Report studio compute unit usage
     * @param {StudioApiReportStudioUsageRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<ReportStudioUsage200Response>} A promise that resolves to a `ReportStudioUsage200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/report-studio-usage)
     *
     */
    reportStudioUsage(requestParameters: StudioApiReportStudioUsageRequest, options?: RawAxiosRequestConfig): AxiosPromise<ReportStudioUsage200Response>;
    /**
     * Starts the Next.js development server for the generated miniapp. Requires Studio admin authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Start generated miniapp
     * @param {StudioApiStartAppRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<StartApp200Response>} A promise that resolves to a `StartApp200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/start-app)
     *
     */
    startApp(requestParameters: StudioApiStartAppRequest, options?: RawAxiosRequestConfig): AxiosPromise<StartApp200Response>;
    /**
     * Stops the Next.js development server for the generated miniapp. Requires Studio admin authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Stop generated miniapp
     * @param {StudioApiStopAppRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<StartApp200Response>} A promise that resolves to a `StartApp200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/stop-app)
     *
     */
    stopApp(requestParameters: StudioApiStopAppRequest, options?: RawAxiosRequestConfig): AxiosPromise<StartApp200Response>;
    /**
     * Updates rows matching the WHERE conditions. WHERE clause is required to prevent accidental bulk updates.
     * @summary Update rows in table
     * @param {StudioApiUpdateRowsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<UpdateRows200Response>} A promise that resolves to a `UpdateRows200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/update-rows)
     *
     */
    updateRows(requestParameters: StudioApiUpdateRowsRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateRows200Response>;
    /**
     * Uploads an image file to the generated miniapp public folder. The image will be accessible as a static asset on the deployed miniapp. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Upload image to deployment
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<UploadImage200Response>} A promise that resolves to a `UploadImage200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/upload-image)
     *
     */
    uploadImage(options?: RawAxiosRequestConfig): AxiosPromise<UploadImage200Response>;
    /**
     * Downloads an image from the provided URL and saves it to the generated miniapp public folder. The image will be accessible as a static asset on the deployed miniapp. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Upload image from URL to deployment
     * @param {StudioApiUploadImageUrlRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<UploadImage200Response>} A promise that resolves to a `UploadImage200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/upload-image-url)
     *
     */
    uploadImageUrl(requestParameters: StudioApiUploadImageUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<UploadImage200Response>;
    /**
     * Upsert secrets for a deployment.
     * @summary Upsert deployment secrets
     * @param {StudioApiUpsertSecretsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<UpsertSecrets200Response>} A promise that resolves to a `UpsertSecrets200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/upsert-secrets)
     *
     */
    upsertSecrets(requestParameters: StudioApiUpsertSecretsRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpsertSecrets200Response>;
    /**
     * Retrieves the build logs for a Vercel deployment. Useful for debugging failed deployments. Requires Studio admin authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Get Vercel deployment build logs
     * @param {StudioApiVercelDeploymentLogsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<VercelDeploymentLogs200Response>} A promise that resolves to a `VercelDeploymentLogs200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/vercel-deployment-logs)
     *
     */
    vercelDeploymentLogs(requestParameters?: StudioApiVercelDeploymentLogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<VercelDeploymentLogs200Response>;
    /**
     * Retrieves the status of a Vercel deployment for a miniapp. Looks up the Vercel project ID from the deployment and queries Vercel API for deployment status. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Get Vercel deployment status
     * @param {StudioApiVercelDeploymentStatusRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApiInterface
     * @returns {Promise<VercelDeploymentStatus200Response>} A promise that resolves to a `VercelDeploymentStatus200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/vercel-deployment-status)
     *
     */
    vercelDeploymentStatus(requestParameters?: StudioApiVercelDeploymentStatusRequest, options?: RawAxiosRequestConfig): AxiosPromise<VercelDeploymentStatus200Response>;
}
/**
 * Request parameters for assignCustomDomain operation in StudioApi.
 * @export
 * @interface StudioApiAssignCustomDomainRequest
 */
export interface StudioApiAssignCustomDomainRequest {
    /**
     * Farcaster ID of the requesting user
     *
     *
     *
     * @type {number}
     * @memberof StudioApiAssignCustomDomain
     */
    readonly fid: number;
    /**
     *
     *
     *
     *
     * @type {AssignCustomDomainRequest}
     * @memberof StudioApiAssignCustomDomain
     */
    readonly assignCustomDomainRequest: AssignCustomDomainRequest;
}
/**
 * Request parameters for associateDeployment operation in StudioApi.
 * @export
 * @interface StudioApiAssociateDeploymentRequest
 */
export interface StudioApiAssociateDeploymentRequest {
    /**
     *
     *
     *
     *
     * @type {AssociateDeploymentRequest}
     * @memberof StudioApiAssociateDeployment
     */
    readonly associateDeploymentRequest: AssociateDeploymentRequest;
}
/**
 * Request parameters for build operation in StudioApi.
 * @export
 * @interface StudioApiBuildRequest
 */
export interface StudioApiBuildRequest {
    /**
     *
     *
     *
     *
     * @type {BuildRequest}
     * @memberof StudioApiBuild
     */
    readonly buildRequest: BuildRequest;
}
/**
 * Request parameters for cancelSession operation in StudioApi.
 * @export
 * @interface StudioApiCancelSessionRequest
 */
export interface StudioApiCancelSessionRequest {
    /**
     *
     *
     *
     *
     * @type {CancelSessionRequest}
     * @memberof StudioApiCancelSession
     */
    readonly cancelSessionRequest: CancelSessionRequest;
}
/**
 * Request parameters for checkDomainAvailability operation in StudioApi.
 * @export
 * @interface StudioApiCheckDomainAvailabilityRequest
 */
export interface StudioApiCheckDomainAvailabilityRequest {
    /**
     * Farcaster ID of the requesting user
     *
     *
     *
     * @type {number}
     * @memberof StudioApiCheckDomainAvailability
     */
    readonly fid: number;
    /**
     * The desired subdomain (without .neynar.app suffix). Must be 3-63 characters, lowercase alphanumeric and hyphens only.
     *
     *
     *
     * @type {string}
     * @memberof StudioApiCheckDomainAvailability
     */
    readonly subdomain: string;
}
/**
 * Request parameters for claimCreditDrop operation in StudioApi.
 * @export
 * @interface StudioApiClaimCreditDropRequest
 */
export interface StudioApiClaimCreditDropRequest {
    /**
     *
     *
     *
     *
     * @type {ClaimCreditDropRequest}
     * @memberof StudioApiClaimCreditDrop
     */
    readonly claimCreditDropRequest: ClaimCreditDropRequest;
}
/**
 * Request parameters for createDeployment operation in StudioApi.
 * @export
 * @interface StudioApiCreateDeploymentRequest
 */
export interface StudioApiCreateDeploymentRequest {
    /**
     *
     *
     *
     *
     * @type {CreateDeploymentRequest}
     * @memberof StudioApiCreateDeployment
     */
    readonly createDeploymentRequest: CreateDeploymentRequest;
}
/**
 * Request parameters for deleteDeployment operation in StudioApi.
 * @export
 * @interface StudioApiDeleteDeploymentRequest
 */
export interface StudioApiDeleteDeploymentRequest {
    /**
     *
     *
     *
     *
     * @type {DeleteDeploymentRequest}
     * @memberof StudioApiDeleteDeployment
     */
    readonly deleteDeploymentRequest: DeleteDeploymentRequest;
}
/**
 * Request parameters for deleteRows operation in StudioApi.
 * @export
 * @interface StudioApiDeleteRowsRequest
 */
export interface StudioApiDeleteRowsRequest {
    /**
     *
     *
     *
     *
     * @type {string}
     * @memberof StudioApiDeleteRows
     */
    readonly tableName: string;
    /**
     *
     *
     *
     *
     * @type {DeleteRowsRequest}
     * @memberof StudioApiDeleteRows
     */
    readonly deleteRowsRequest: DeleteRowsRequest;
}
/**
 * Request parameters for deleteSecrets operation in StudioApi.
 * @export
 * @interface StudioApiDeleteSecretsRequest
 */
export interface StudioApiDeleteSecretsRequest {
    /**
     *
     *
     *
     *
     * @type {DeleteSecretsRequest}
     * @memberof StudioApiDeleteSecrets
     */
    readonly deleteSecretsRequest: DeleteSecretsRequest;
}
/**
 * Request parameters for deployToVercel operation in StudioApi.
 * @export
 * @interface StudioApiDeployToVercelRequest
 */
export interface StudioApiDeployToVercelRequest {
    /**
     *
     *
     *
     *
     * @type {DeployToVercelRequest}
     * @memberof StudioApiDeployToVercel
     */
    readonly deployToVercelRequest: DeployToVercelRequest;
}
/**
 * Request parameters for executeSql operation in StudioApi.
 * @export
 * @interface StudioApiExecuteSqlRequest
 */
export interface StudioApiExecuteSqlRequest {
    /**
     *
     *
     *
     *
     * @type {ExecuteSqlRequest}
     * @memberof StudioApiExecuteSql
     */
    readonly executeSqlRequest: ExecuteSqlRequest;
}
/**
 * Request parameters for exportZip operation in StudioApi.
 * @export
 * @interface StudioApiExportZipRequest
 */
export interface StudioApiExportZipRequest {
    /**
     * Deployment ID (UUID). Required if name not provided.
     *
     *
     *
     * @type {string}
     * @memberof StudioApiExportZip
     */
    readonly deploymentId?: string;
    /**
     * Farcaster ID of the user; if not provided, namespace must be provided
     *
     *
     *
     * @type {number}
     * @memberof StudioApiExportZip
     */
    readonly fid?: number;
    /**
     * Kubernetes deployment name. Required if deployment_id not provided.
     *
     *
     *
     * @type {string}
     * @memberof StudioApiExportZip
     */
    readonly name?: string;
    /**
     * Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
     *
     *
     *
     * @type {string}
     * @memberof StudioApiExportZip
     */
    readonly namespace?: string;
}
/**
 * Request parameters for getAccountAssociation operation in StudioApi.
 * @export
 * @interface StudioApiGetAccountAssociationRequest
 */
export interface StudioApiGetAccountAssociationRequest {
    /**
     * Deployment ID
     *
     *
     *
     * @type {string}
     * @memberof StudioApiGetAccountAssociation
     */
    readonly deploymentId?: string;
    /**
     * Kubernetes namespace name
     *
     *
     *
     * @type {string}
     * @memberof StudioApiGetAccountAssociation
     */
    readonly namespace?: string;
    /**
     * Kubernetes deployment name
     *
     *
     *
     * @type {string}
     * @memberof StudioApiGetAccountAssociation
     */
    readonly name?: string;
}
/**
 * Request parameters for getConversationMessages operation in StudioApi.
 * @export
 * @interface StudioApiGetConversationMessagesRequest
 */
export interface StudioApiGetConversationMessagesRequest {
    /**
     * Conversation ID
     *
     *
     *
     * @type {string}
     * @memberof StudioApiGetConversationMessages
     */
    readonly conversationId: string;
    /**
     * Deployment ID (UUID). Required if name not provided.
     *
     *
     *
     * @type {string}
     * @memberof StudioApiGetConversationMessages
     */
    readonly deploymentId?: string;
    /**
     * Farcaster ID of the user; if not provided, namespace must be provided
     *
     *
     *
     * @type {number}
     * @memberof StudioApiGetConversationMessages
     */
    readonly fid?: number;
    /**
     * Kubernetes deployment name. Required if deployment_id not provided.
     *
     *
     *
     * @type {string}
     * @memberof StudioApiGetConversationMessages
     */
    readonly name?: string;
    /**
     * Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
     *
     *
     *
     * @type {string}
     * @memberof StudioApiGetConversationMessages
     */
    readonly namespace?: string;
    /**
     * Include deleted messages in the response. Defaults to false.
     *
     *
     *
     * @type {boolean}
     * @memberof StudioApiGetConversationMessages
     */
    readonly includeDeleted?: boolean;
    /**
     * Maximum number of messages to return per page. Defaults to 50, max 100. (Default: 50, Maximum: 100)
     *
     *
     *
     * @type {number}
     * @memberof StudioApiGetConversationMessages
     */
    readonly limit?: number;
    /**
     * Pagination cursor for fetching older messages. Omit to start from most recent.
     *
     *
     *
     * @type {string}
     * @memberof StudioApiGetConversationMessages
     */
    readonly cursor?: string;
}
/**
 * Request parameters for getCreditDrop operation in StudioApi.
 * @export
 * @interface StudioApiGetCreditDropRequest
 */
export interface StudioApiGetCreditDropRequest {
    /**
     * Farcaster ID of the user
     *
     *
     *
     * @type {number}
     * @memberof StudioApiGetCreditDrop
     */
    readonly fid: number;
}
/**
 * Request parameters for getDeployment operation in StudioApi.
 * @export
 * @interface StudioApiGetDeploymentRequest
 */
export interface StudioApiGetDeploymentRequest {
    /**
     * Deployment ID (UUID). Required if name not provided.
     *
     *
     *
     * @type {string}
     * @memberof StudioApiGetDeployment
     */
    readonly deploymentId?: string;
    /**
     * Farcaster ID of the user; if not provided, namespace must be provided
     *
     *
     *
     * @type {number}
     * @memberof StudioApiGetDeployment
     */
    readonly fid?: number;
    /**
     * Kubernetes deployment name. Required if deployment_id not provided.
     *
     *
     *
     * @type {string}
     * @memberof StudioApiGetDeployment
     */
    readonly name?: string;
    /**
     * Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
     *
     *
     *
     * @type {string}
     * @memberof StudioApiGetDeployment
     */
    readonly namespace?: string;
}
/**
 * Request parameters for getDeploymentFile operation in StudioApi.
 * @export
 * @interface StudioApiGetDeploymentFileRequest
 */
export interface StudioApiGetDeploymentFileRequest {
    /**
     * File path relative to gen/
     *
     *
     *
     * @type {string}
     * @memberof StudioApiGetDeploymentFile
     */
    readonly filePath: string;
    /**
     * Deployment ID (UUID). Required if name not provided.
     *
     *
     *
     * @type {string}
     * @memberof StudioApiGetDeploymentFile
     */
    readonly deploymentId?: string;
    /**
     * Farcaster ID of the user; if not provided, namespace must be provided
     *
     *
     *
     * @type {number}
     * @memberof StudioApiGetDeploymentFile
     */
    readonly fid?: number;
    /**
     * Kubernetes deployment name. Required if deployment_id not provided.
     *
     *
     *
     * @type {string}
     * @memberof StudioApiGetDeploymentFile
     */
    readonly name?: string;
    /**
     * Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
     *
     *
     *
     * @type {string}
     * @memberof StudioApiGetDeploymentFile
     */
    readonly namespace?: string;
}
/**
 * Request parameters for getDevStatus operation in StudioApi.
 * @export
 * @interface StudioApiGetDevStatusRequest
 */
export interface StudioApiGetDevStatusRequest {
    /**
     * Deployment ID
     *
     *
     *
     * @type {string}
     * @memberof StudioApiGetDevStatus
     */
    readonly deploymentId?: string;
    /**
     * Kubernetes namespace name
     *
     *
     *
     * @type {string}
     * @memberof StudioApiGetDevStatus
     */
    readonly namespace?: string;
    /**
     * Kubernetes deployment name
     *
     *
     *
     * @type {string}
     * @memberof StudioApiGetDevStatus
     */
    readonly name?: string;
}
/**
 * Request parameters for getTableSchema operation in StudioApi.
 * @export
 * @interface StudioApiGetTableSchemaRequest
 */
export interface StudioApiGetTableSchemaRequest {
    /**
     *
     *
     *
     *
     * @type {string}
     * @memberof StudioApiGetTableSchema
     */
    readonly tableName: string;
    /**
     * Deployment ID (UUID)
     *
     *
     *
     * @type {string}
     * @memberof StudioApiGetTableSchema
     */
    readonly deploymentId: string;
    /**
     * Farcaster ID of the user. Required for non-admin users.
     *
     *
     *
     * @type {number}
     * @memberof StudioApiGetTableSchema
     */
    readonly fid?: number;
}
/**
 * Request parameters for insertRows operation in StudioApi.
 * @export
 * @interface StudioApiInsertRowsRequest
 */
export interface StudioApiInsertRowsRequest {
    /**
     *
     *
     *
     *
     * @type {string}
     * @memberof StudioApiInsertRows
     */
    readonly tableName: string;
    /**
     *
     *
     *
     *
     * @type {InsertRowsRequest}
     * @memberof StudioApiInsertRows
     */
    readonly insertRowsRequest: InsertRowsRequest;
}
/**
 * Request parameters for listConversations operation in StudioApi.
 * @export
 * @interface StudioApiListConversationsRequest
 */
export interface StudioApiListConversationsRequest {
    /**
     * Deployment ID (UUID). If provided, filters conversations to this deployment only.
     *
     *
     *
     * @type {string}
     * @memberof StudioApiListConversations
     */
    readonly deploymentId?: string;
    /**
     * Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all conversations.
     *
     *
     *
     * @type {number}
     * @memberof StudioApiListConversations
     */
    readonly fid?: number;
    /**
     * Kubernetes deployment name. If provided, filters conversations to this deployment only.
     *
     *
     *
     * @type {string}
     * @memberof StudioApiListConversations
     */
    readonly name?: string;
    /**
     * Include deleted conversations in the response. Defaults to false.
     *
     *
     *
     * @type {boolean}
     * @memberof StudioApiListConversations
     */
    readonly includeDeleted?: boolean;
}
/**
 * Request parameters for listDeploymentFiles operation in StudioApi.
 * @export
 * @interface StudioApiListDeploymentFilesRequest
 */
export interface StudioApiListDeploymentFilesRequest {
    /**
     * Deployment ID (UUID). Required if name not provided.
     *
     *
     *
     * @type {string}
     * @memberof StudioApiListDeploymentFiles
     */
    readonly deploymentId?: string;
    /**
     * Farcaster ID of the user; if not provided, namespace must be provided
     *
     *
     *
     * @type {number}
     * @memberof StudioApiListDeploymentFiles
     */
    readonly fid?: number;
    /**
     * Kubernetes deployment name. Required if deployment_id not provided.
     *
     *
     *
     * @type {string}
     * @memberof StudioApiListDeploymentFiles
     */
    readonly name?: string;
    /**
     * Optional Kubernetes namespace. If not provided, will query for the active namespace for the given FID.
     *
     *
     *
     * @type {string}
     * @memberof StudioApiListDeploymentFiles
     */
    readonly namespace?: string;
    /**
     * Directory path relative to gen/ (defaults to root)
     *
     *
     *
     * @type {string}
     * @memberof StudioApiListDeploymentFiles
     */
    readonly directory?: string;
}
/**
 * Request parameters for listDeployments operation in StudioApi.
 * @export
 * @interface StudioApiListDeploymentsRequest
 */
export interface StudioApiListDeploymentsRequest {
    /**
     * Farcaster ID of the user. Required for non-admin users. Studio admins can omit to query all deployments.
     *
     *
     *
     * @type {number}
     * @memberof StudioApiListDeployments
     */
    readonly fid?: number;
    /**
     * Maximum number of deployments to return. Defaults to 50, max 1000. (Default: 50, Maximum: 1000)
     *
     *
     *
     * @type {number}
     * @memberof StudioApiListDeployments
     */
    readonly limit?: number;
    /**
     * Number of deployments to skip for pagination. Defaults to 0.
     *
     *
     *
     * @type {number}
     * @memberof StudioApiListDeployments
     */
    readonly offset?: number;
    /**
     * Search string to filter deployments by name, display name, or FID.
     *
     *
     *
     * @type {string}
     * @memberof StudioApiListDeployments
     */
    readonly query?: string;
    /**
     * Field to sort deployments by. Defaults to updated_at (most recently updated first).
     *
     *
     *
     * @type {'created_at' | 'updated_at'}
     * @memberof StudioApiListDeployments
     */
    readonly sortBy?: ListDeploymentsSortByEnum;
    /**
     * Include deleted deployments in the response. Defaults to false.
     *
     *
     *
     * @type {boolean}
     * @memberof StudioApiListDeployments
     */
    readonly includeDeleted?: boolean;
}
/**
 * Request parameters for listSecrets operation in StudioApi.
 * @export
 * @interface StudioApiListSecretsRequest
 */
export interface StudioApiListSecretsRequest {
    /**
     * Deployment ID to list secrets for
     *
     *
     *
     * @type {string}
     * @memberof StudioApiListSecrets
     */
    readonly deploymentId: string;
    /**
     * Optional filter by environment variable name
     *
     *
     *
     * @type {string}
     * @memberof StudioApiListSecrets
     */
    readonly key?: string;
}
/**
 * Request parameters for listTables operation in StudioApi.
 * @export
 * @interface StudioApiListTablesRequest
 */
export interface StudioApiListTablesRequest {
    /**
     * Deployment ID (UUID)
     *
     *
     *
     * @type {string}
     * @memberof StudioApiListTables
     */
    readonly deploymentId: string;
    /**
     * Farcaster ID of the user. Required for non-admin users.
     *
     *
     *
     * @type {number}
     * @memberof StudioApiListTables
     */
    readonly fid?: number;
}
/**
 * Request parameters for promptDeploymentStream operation in StudioApi.
 * @export
 * @interface StudioApiPromptDeploymentStreamRequest
 */
export interface StudioApiPromptDeploymentStreamRequest {
    /**
     *
     *
     *
     *
     * @type {PromptDeploymentStreamRequest}
     * @memberof StudioApiPromptDeploymentStream
     */
    readonly promptDeploymentStreamRequest: PromptDeploymentStreamRequest;
}
/**
 * Request parameters for provision operation in StudioApi.
 * @export
 * @interface StudioApiProvisionRequest
 */
export interface StudioApiProvisionRequest {
    /**
     *
     *
     *
     *
     * @type {ProvisionRequest}
     * @memberof StudioApiProvision
     */
    readonly provisionRequest: ProvisionRequest;
}
/**
 * Request parameters for queryTable operation in StudioApi.
 * @export
 * @interface StudioApiQueryTableRequest
 */
export interface StudioApiQueryTableRequest {
    /**
     *
     *
     *
     *
     * @type {QueryTableRequest}
     * @memberof StudioApiQueryTable
     */
    readonly queryTableRequest: QueryTableRequest;
}
/**
 * Request parameters for recover operation in StudioApi.
 * @export
 * @interface StudioApiRecoverRequest
 */
export interface StudioApiRecoverRequest {
    /**
     *
     *
     *
     *
     * @type {RecoverRequest}
     * @memberof StudioApiRecover
     */
    readonly recoverRequest: RecoverRequest;
}
/**
 * Request parameters for reportStudioUsage operation in StudioApi.
 * @export
 * @interface StudioApiReportStudioUsageRequest
 */
export interface StudioApiReportStudioUsageRequest {
    /**
     *
     *
     *
     *
     * @type {ReportStudioUsageRequest}
     * @memberof StudioApiReportStudioUsage
     */
    readonly reportStudioUsageRequest: ReportStudioUsageRequest;
}
/**
 * Request parameters for startApp operation in StudioApi.
 * @export
 * @interface StudioApiStartAppRequest
 */
export interface StudioApiStartAppRequest {
    /**
     *
     *
     *
     *
     * @type {StartAppRequest}
     * @memberof StudioApiStartApp
     */
    readonly startAppRequest: StartAppRequest;
}
/**
 * Request parameters for stopApp operation in StudioApi.
 * @export
 * @interface StudioApiStopAppRequest
 */
export interface StudioApiStopAppRequest {
    /**
     *
     *
     *
     *
     * @type {StartAppRequest}
     * @memberof StudioApiStopApp
     */
    readonly startAppRequest: StartAppRequest;
}
/**
 * Request parameters for updateRows operation in StudioApi.
 * @export
 * @interface StudioApiUpdateRowsRequest
 */
export interface StudioApiUpdateRowsRequest {
    /**
     *
     *
     *
     *
     * @type {string}
     * @memberof StudioApiUpdateRows
     */
    readonly tableName: string;
    /**
     *
     *
     *
     *
     * @type {UpdateRowsRequest}
     * @memberof StudioApiUpdateRows
     */
    readonly updateRowsRequest: UpdateRowsRequest;
}
/**
 * Request parameters for uploadImageUrl operation in StudioApi.
 * @export
 * @interface StudioApiUploadImageUrlRequest
 */
export interface StudioApiUploadImageUrlRequest {
    /**
     *
     *
     *
     *
     * @type {UploadImageUrlRequest}
     * @memberof StudioApiUploadImageUrl
     */
    readonly uploadImageUrlRequest: UploadImageUrlRequest;
}
/**
 * Request parameters for upsertSecrets operation in StudioApi.
 * @export
 * @interface StudioApiUpsertSecretsRequest
 */
export interface StudioApiUpsertSecretsRequest {
    /**
     *
     *
     *
     *
     * @type {UpsertSecretsRequest}
     * @memberof StudioApiUpsertSecrets
     */
    readonly upsertSecretsRequest: UpsertSecretsRequest;
}
/**
 * Request parameters for vercelDeploymentLogs operation in StudioApi.
 * @export
 * @interface StudioApiVercelDeploymentLogsRequest
 */
export interface StudioApiVercelDeploymentLogsRequest {
    /**
     * Deployment ID (UUID). Required if name not provided.
     *
     *
     *
     * @type {string}
     * @memberof StudioApiVercelDeploymentLogs
     */
    readonly deploymentId?: string;
    /**
     * Farcaster ID of the user
     *
     *
     *
     * @type {number}
     * @memberof StudioApiVercelDeploymentLogs
     */
    readonly fid?: number;
    /**
     * K8s Namespace name
     *
     *
     *
     * @type {string}
     * @memberof StudioApiVercelDeploymentLogs
     */
    readonly namespace?: string;
    /**
     * Deployment name used to identify the Vercel project. Required if deployment_id not provided.
     *
     *
     *
     * @type {string}
     * @memberof StudioApiVercelDeploymentLogs
     */
    readonly name?: string;
    /**
     * Maximum number of log events to return. Defaults to 100.
     *
     *
     *
     * @type {number}
     * @memberof StudioApiVercelDeploymentLogs
     */
    readonly limit?: number;
}
/**
 * Request parameters for vercelDeploymentStatus operation in StudioApi.
 * @export
 * @interface StudioApiVercelDeploymentStatusRequest
 */
export interface StudioApiVercelDeploymentStatusRequest {
    /**
     * Deployment ID (UUID). Required if name not provided.
     *
     *
     *
     * @type {string}
     * @memberof StudioApiVercelDeploymentStatus
     */
    readonly deploymentId?: string;
    /**
     * Farcaster ID of the user; if not provided, namespace must be provided
     *
     *
     *
     * @type {number}
     * @memberof StudioApiVercelDeploymentStatus
     */
    readonly fid?: number;
    /**
     * K8s Namespace name
     *
     *
     *
     * @type {string}
     * @memberof StudioApiVercelDeploymentStatus
     */
    readonly namespace?: string;
    /**
     * Deployment name used to identify the Vercel project. Required if deployment_id not provided.
     *
     *
     *
     * @type {string}
     * @memberof StudioApiVercelDeploymentStatus
     */
    readonly name?: string;
}
/**
 * StudioApi - object-oriented interface
 * @export
 * @class StudioApi
 * @extends {BaseAPI}
 */
export declare class StudioApi extends BaseAPI implements StudioApiInterface {
    /**
     * Assigns a custom *.neynar.app subdomain to the user\'s deployed miniapp. The new domain is added to the Vercel project alongside the existing auto-assigned domain. The productionDomain in the database is updated to the custom domain. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Assign a custom subdomain to a deployed miniapp
     * @param {StudioApiAssignCustomDomainRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<AssignCustomDomain200Response>} A promise that resolves to a `AssignCustomDomain200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/assign-custom-domain)
     *
     */
    assignCustomDomain(requestParameters: StudioApiAssignCustomDomainRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AssignCustomDomain200Response, any, {}>>;
    /**
     * Associates a generated miniapp with a Farcaster account using a JFS-signed domain association. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Set account association
     * @param {StudioApiAssociateDeploymentRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<AssociateDeployment200Response>} A promise that resolves to a `AssociateDeployment200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/associate-deployment)
     *
     */
    associateDeployment(requestParameters: StudioApiAssociateDeploymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AssociateDeployment200Response, any, {}>>;
    /**
     * Runs Next.js build process for the generated app. If build fails, automatically calls a build-fixer agent to resolve errors. Streams build output and agent responses via Server-Sent Events. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Build generated app with automatic error fixing
     * @param {StudioApiBuildRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<>} A promise that resolves to a `` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/build)
     *
     */
    build(requestParameters: StudioApiBuildRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
    /**
     * Cancels an in-progress Claude Code session for a deployment. Safe to call even if no session is active — returns cancelled: false in that case.
     * @summary Cancel an active Claude session for a deployment
     * @param {StudioApiCancelSessionRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<CancelSession200Response>} A promise that resolves to a `CancelSession200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/cancel-session)
     *
     */
    cancelSession(requestParameters: StudioApiCancelSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CancelSession200Response, any, {}>>;
    /**
     * Checks whether a custom *.neynar.app subdomain is available for assignment. Validates format, checks reserved names, and verifies no other active deployment is using it. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Check if a custom subdomain is available
     * @param {StudioApiCheckDomainAvailabilityRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<CheckDomainAvailability200Response>} A promise that resolves to a `CheckDomainAvailability200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/check-domain-availability)
     *
     */
    checkDomainAvailability(requestParameters: StudioApiCheckDomainAvailabilityRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CheckDomainAvailability200Response, any, {}>>;
    /**
     * Claims the most recent credit drop for the authenticated user. The drop\'s allowance is surfaced dynamically until expires_at and does not mutate extra_credits. Only drops created within the past 24 hours can be claimed.
     * @summary Claim credit drop
     * @param {StudioApiClaimCreditDropRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<ClaimCreditDrop200Response>} A promise that resolves to a `ClaimCreditDrop200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/claim-credit-drop)
     *
     */
    claimCreditDrop(requestParameters: StudioApiClaimCreditDropRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClaimCreditDrop200Response, any, {}>>;
    /**
     * Creates and deploys an instance of the miniapp generator for a user. Requires authentication via API key in the request header. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Create a miniapp generator deployment
     * @param {StudioApiCreateDeploymentRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<ListDeployments200ResponseInner>} A promise that resolves to a `ListDeployments200ResponseInner` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/create-deployment)
     *
     */
    createDeployment(requestParameters: StudioApiCreateDeploymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDeployments200ResponseInner, any, {}>>;
    /**
     * Deletes a specific miniapp generator deployment or all deployments for a FID. If deployment_id or name is provided, deletes single deployment. If only FID is provided, deletes all deployments for that FID. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Delete deployment(s)
     * @param {StudioApiDeleteDeploymentRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<DeleteDeployment200Response>} A promise that resolves to a `DeleteDeployment200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/delete-deployment)
     *
     */
    deleteDeployment(requestParameters: StudioApiDeleteDeploymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteDeployment200Response, any, {}>>;
    /**
     * Deletes rows matching the WHERE conditions. WHERE clause is required to prevent accidental bulk deletes.
     * @summary Delete rows from table
     * @param {StudioApiDeleteRowsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<DeleteRows200Response>} A promise that resolves to a `DeleteRows200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/delete-rows)
     *
     */
    deleteRows(requestParameters: StudioApiDeleteRowsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteRows200Response, any, {}>>;
    /**
     * Deletes environment variables (secrets) from a deployment.
     * @summary Delete deployment secrets
     * @param {StudioApiDeleteSecretsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<UpsertSecrets200Response>} A promise that resolves to a `UpsertSecrets200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/delete-secrets)
     *
     */
    deleteSecrets(requestParameters: StudioApiDeleteSecretsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpsertSecrets200Response, any, {}>>;
    /**
     * Publishes the generated miniapp to Vercel via GitHub. Creates a GitHub repository, pushes code, creates a Vercel project linked to GitHub, and triggers deployment. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Deploy miniapp to Vercel
     * @param {StudioApiDeployToVercelRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<DeployToVercel200Response>} A promise that resolves to a `DeployToVercel200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/deploy-to-vercel)
     *
     */
    deployToVercel(requestParameters: StudioApiDeployToVercelRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DeployToVercel200Response, any, {}>>;
    /**
     * Executes a raw SQL query against the deployment database. Only SELECT, WITH, and EXPLAIN queries are allowed. Admin access required.
     * @summary Execute raw SQL query (admin only)
     * @param {StudioApiExecuteSqlRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<ExecuteSql200Response>} A promise that resolves to a `ExecuteSql200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/execute-sql)
     *
     */
    executeSql(requestParameters: StudioApiExecuteSqlRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ExecuteSql200Response, any, {}>>;
    /**
     * Downloads the generated miniapp source code as a binary ZIP archive (Content-Type: application/zip). Requires a paid Studio subscription (GROWTH, STUDIO_PLUS, STUDIO_MAX, or INTERNAL). The deployment must be running. The 200 response body is a raw binary stream, not JSON.
     * @summary Export deployment source code as ZIP
     * @param {StudioApiExportZipRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<>} A promise that resolves to a `` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/export-zip)
     *
     */
    exportZip(requestParameters?: StudioApiExportZipRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
    /**
     * Retrieves the account-association.json file from a miniapp deployment, which contains the JFS-signed domain association. Requires API key authentication.
     * @summary Get account association of a miniapp
     * @param {StudioApiGetAccountAssociationRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<GetAccountAssociation200Response>} A promise that resolves to a `GetAccountAssociation200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-account-association)
     *
     */
    getAccountAssociation(requestParameters?: StudioApiGetAccountAssociationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAccountAssociation200Response, any, {}>>;
    /**
     * Retrieves messages in a specific conversation with cursor-based pagination (newest first). Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Get messages in a conversation
     * @param {StudioApiGetConversationMessagesRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<GetConversationMessages200Response>} A promise that resolves to a `GetConversationMessages200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-conversation-messages)
     *
     */
    getConversationMessages(requestParameters: StudioApiGetConversationMessagesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetConversationMessages200Response, any, {}>>;
    /**
     * Returns the most recent credit drop for the authenticated user. Returns the drop regardless of claimed/expired status.
     * @summary Get most recent credit drop
     * @param {StudioApiGetCreditDropRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<GetCreditDrop200Response>} A promise that resolves to a `GetCreditDrop200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-credit-drop)
     *
     */
    getCreditDrop(requestParameters: StudioApiGetCreditDropRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCreditDrop200Response, any, {}>>;
    /**
     * Fetches info about a miniapp generator deployment by its deployment_id or name and creator\'s Farcaster ID. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Get deployment info
     * @param {StudioApiGetDeploymentRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<ListDeployments200ResponseInner>} A promise that resolves to a `ListDeployments200ResponseInner` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-deployment)
     *
     */
    getDeployment(requestParameters?: StudioApiGetDeploymentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDeployments200ResponseInner, any, {}>>;
    /**
     * Retrieves the contents of a specific file from the generated app. Requires Studio admin authentication or FID ownership validation. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Get deployment file contents
     * @param {StudioApiGetDeploymentFileRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<GetDeploymentFile200Response>} A promise that resolves to a `GetDeploymentFile200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-deployment-file)
     *
     */
    getDeploymentFile(requestParameters: StudioApiGetDeploymentFileRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDeploymentFile200Response, any, {}>>;
    /**
     * Retrieves the dev-status.json file from a miniapp deployment, which tracks the progress of app development phases. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Get dev status of a miniapp
     * @param {StudioApiGetDevStatusRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<GetDevStatus200Response>} A promise that resolves to a `GetDevStatus200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-dev-status)
     *
     */
    getDevStatus(requestParameters?: StudioApiGetDevStatusRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetDevStatus200Response, any, {}>>;
    /**
     * Retrieves the complete schema for a table including columns, indexes, and foreign keys.
     * @summary Get table schema
     * @param {StudioApiGetTableSchemaRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<GetTableSchema200Response>} A promise that resolves to a `GetTableSchema200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/get-table-schema)
     *
     */
    getTableSchema(requestParameters: StudioApiGetTableSchemaRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTableSchema200Response, any, {}>>;
    /**
     * Inserts one or more rows into the specified table. Returns the inserted rows with generated values.
     * @summary Insert rows into table
     * @param {StudioApiInsertRowsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<InsertRows200Response>} A promise that resolves to a `InsertRows200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/insert-rows)
     *
     */
    insertRows(requestParameters: StudioApiInsertRowsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InsertRows200Response, any, {}>>;
    /**
     * Lists all conversations for a specific deployment. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary List conversations for a deployment
     * @param {StudioApiListConversationsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<ListConversations200Response>} A promise that resolves to a `ListConversations200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-conversations)
     *
     */
    listConversations(requestParameters?: StudioApiListConversationsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListConversations200Response, any, {}>>;
    /**
     * Lists files in a directory of the generated app. Requires Studio admin authentication or FID ownership validation. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary List deployment files
     * @param {StudioApiListDeploymentFilesRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<ListDeploymentFiles200Response>} A promise that resolves to a `ListDeploymentFiles200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-deployment-files)
     *
     */
    listDeploymentFiles(requestParameters?: StudioApiListDeploymentFilesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDeploymentFiles200Response, any, {}>>;
    /**
     * Lists all miniapp generator deployments for a user. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary List deployments
     * @param {StudioApiListDeploymentsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<Array<ListDeployments200ResponseInner>>} A promise that resolves to a `Array<ListDeployments200ResponseInner>` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-deployments)
     *
     */
    listDeployments(requestParameters?: StudioApiListDeploymentsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDeployments200ResponseInner[], any, {}>>;
    /**
     * Retrieves all secrets for a deployment.
     * @summary List deployment secrets
     * @param {StudioApiListSecretsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<ListSecrets200Response>} A promise that resolves to a `ListSecrets200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-secrets)
     *
     */
    listSecrets(requestParameters: StudioApiListSecretsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListSecrets200Response, any, {}>>;
    /**
     * Lists all tables and views in the deployment database, excluding system tables.
     * @summary List all tables in deployment database
     * @param {StudioApiListTablesRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<ListTables200Response>} A promise that resolves to a `ListTables200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/list-tables)
     *
     */
    listTables(requestParameters: StudioApiListTablesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTables200Response, any, {}>>;
    /**
     * Sends a prompt to a specific miniapp generator deployment and returns a streaming response using Server-Sent Events. The response is a continuous stream of Server-Sent Events, not a single JSON payload. Each event contains a JSON object with type, message, and other fields specific to the message type. Requires authentication via API key in the request header. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Prompt a deployment with streaming response
     * @param {StudioApiPromptDeploymentStreamRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<>} A promise that resolves to a `` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/prompt-deployment-stream)
     *
     */
    promptDeploymentStream(requestParameters: StudioApiPromptDeploymentStreamRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
    /**
     * Provisions a Neon PostgreSQL database for the deployment, or validates and attaches a user-provided (BYO) connection string. Idempotent — returns success if already provisioned.
     * @summary Provision a database for a deployment
     * @param {StudioApiProvisionRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<Provision200Response>} A promise that resolves to a `Provision200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/provision)
     *
     */
    provision(requestParameters: StudioApiProvisionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Provision200Response, any, {}>>;
    /**
     * Query data from a table with pagination and sorting.
     * @summary Query table data
     * @param {StudioApiQueryTableRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<QueryTable200Response>} A promise that resolves to a `QueryTable200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/query-table)
     *
     */
    queryTable(requestParameters: StudioApiQueryTableRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<QueryTable200Response, any, {}>>;
    /**
     * Attempts to recover a broken dev server. Phase 1: reads dev server error logs and sends them to an AI agent for fixing, then waits for HMR to auto-rebuild. Phase 2: if HMR fails, falls back to a full npm build with AI retry loop. Streams progress events via Server-Sent Events. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Recover dev server with two-phase strategy
     * @param {StudioApiRecoverRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<>} A promise that resolves to a `` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/recover)
     *
     */
    recover(requestParameters: StudioApiRecoverRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
    /**
     * Called by miniapp-generator instances to report Claude SDK usage. Idempotent — duplicate submissions (same idempotency_key) are accepted but not double-counted.
     * @summary Report studio compute unit usage
     * @param {StudioApiReportStudioUsageRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<ReportStudioUsage200Response>} A promise that resolves to a `ReportStudioUsage200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/report-studio-usage)
     *
     */
    reportStudioUsage(requestParameters: StudioApiReportStudioUsageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ReportStudioUsage200Response, any, {}>>;
    /**
     * Starts the Next.js development server for the generated miniapp. Requires Studio admin authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Start generated miniapp
     * @param {StudioApiStartAppRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<StartApp200Response>} A promise that resolves to a `StartApp200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/start-app)
     *
     */
    startApp(requestParameters: StudioApiStartAppRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StartApp200Response, any, {}>>;
    /**
     * Stops the Next.js development server for the generated miniapp. Requires Studio admin authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Stop generated miniapp
     * @param {StudioApiStopAppRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<StartApp200Response>} A promise that resolves to a `StartApp200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/stop-app)
     *
     */
    stopApp(requestParameters: StudioApiStopAppRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StartApp200Response, any, {}>>;
    /**
     * Updates rows matching the WHERE conditions. WHERE clause is required to prevent accidental bulk updates.
     * @summary Update rows in table
     * @param {StudioApiUpdateRowsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<UpdateRows200Response>} A promise that resolves to a `UpdateRows200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/update-rows)
     *
     */
    updateRows(requestParameters: StudioApiUpdateRowsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateRows200Response, any, {}>>;
    /**
     * Uploads an image file to the generated miniapp public folder. The image will be accessible as a static asset on the deployed miniapp. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Upload image to deployment
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<UploadImage200Response>} A promise that resolves to a `UploadImage200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/upload-image)
     *
     */
    uploadImage(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UploadImage200Response, any, {}>>;
    /**
     * Downloads an image from the provided URL and saves it to the generated miniapp public folder. The image will be accessible as a static asset on the deployed miniapp. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Upload image from URL to deployment
     * @param {StudioApiUploadImageUrlRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<UploadImage200Response>} A promise that resolves to a `UploadImage200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/upload-image-url)
     *
     */
    uploadImageUrl(requestParameters: StudioApiUploadImageUrlRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UploadImage200Response, any, {}>>;
    /**
     * Upsert secrets for a deployment.
     * @summary Upsert deployment secrets
     * @param {StudioApiUpsertSecretsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<UpsertSecrets200Response>} A promise that resolves to a `UpsertSecrets200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/upsert-secrets)
     *
     */
    upsertSecrets(requestParameters: StudioApiUpsertSecretsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpsertSecrets200Response, any, {}>>;
    /**
     * Retrieves the build logs for a Vercel deployment. Useful for debugging failed deployments. Requires Studio admin authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Get Vercel deployment build logs
     * @param {StudioApiVercelDeploymentLogsRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<VercelDeploymentLogs200Response>} A promise that resolves to a `VercelDeploymentLogs200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/vercel-deployment-logs)
     *
     */
    vercelDeploymentLogs(requestParameters?: StudioApiVercelDeploymentLogsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VercelDeploymentLogs200Response, any, {}>>;
    /**
     * Retrieves the status of a Vercel deployment for a miniapp. Looks up the Vercel project ID from the deployment and queries Vercel API for deployment status. Requires API key authentication. Note: Studio CU is tracked based on LLM token usage, not per API call.
     * @summary Get Vercel deployment status
     * @param {StudioApiVercelDeploymentStatusRequest} requestParameters Request parameters.
     * @param {*} [options] Override http request option.
     * @throws {RequiredError}
     * @memberof StudioApi
     * @returns {Promise<VercelDeploymentStatus200Response>} A promise that resolves to a `VercelDeploymentStatus200Response` object
     *
     * For more information, refer to the [API documentation](https://docs.neynar.com/reference/vercel-deployment-status)
     *
     */
    vercelDeploymentStatus(requestParameters?: StudioApiVercelDeploymentStatusRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VercelDeploymentStatus200Response, any, {}>>;
}
/**
 * @export
 */
export declare const ListDeploymentsSortByEnum: {
    readonly CreatedAt: "created_at";
    readonly UpdatedAt: "updated_at";
};
export type ListDeploymentsSortByEnum = typeof ListDeploymentsSortByEnum[keyof typeof ListDeploymentsSortByEnum];
