import { type Client } from '../../../../seam/connect/client.js'; import { type SeamHttpFromPublishableKeyOptions, type SeamHttpOptions, type SeamHttpOptionsWithApiKey, type SeamHttpOptionsWithClient, type SeamHttpOptionsWithClientSessionToken, type SeamHttpOptionsWithConsoleSessionToken, type SeamHttpOptionsWithPersonalAccessToken, type SeamHttpRequestOptions } from '../../../../seam/connect/options.js'; import type { InstantKey } from '../../../../seam/connect/resources/instant-key.js'; import { SeamHttpRequest } from '../../../../seam/connect/seam-http-request.js'; import { SeamPaginator } from '../../../../seam/connect/seam-paginator.js'; export declare class SeamHttpInstantKeys { client: Client; readonly defaults: Required; readonly ltsVersion = "1.0.0"; static ltsVersion: string; constructor(apiKeyOrOptions?: string | SeamHttpOptions); static fromClient(client: SeamHttpOptionsWithClient['client'], options?: Omit): SeamHttpInstantKeys; static fromApiKey(apiKey: SeamHttpOptionsWithApiKey['apiKey'], options?: Omit): SeamHttpInstantKeys; static fromClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken'], options?: Omit): SeamHttpInstantKeys; static fromPublishableKey(publishableKey: string, userIdentifierKey: string, options?: SeamHttpFromPublishableKeyOptions): Promise; static fromConsoleSessionToken(consoleSessionToken: SeamHttpOptionsWithConsoleSessionToken['consoleSessionToken'], workspaceId: SeamHttpOptionsWithConsoleSessionToken['workspaceId'], options?: Omit): SeamHttpInstantKeys; static fromPersonalAccessToken(personalAccessToken: SeamHttpOptionsWithPersonalAccessToken['personalAccessToken'], workspaceId: SeamHttpOptionsWithPersonalAccessToken['workspaceId'], options?: Omit): SeamHttpInstantKeys; createPaginator(request: SeamHttpRequest): SeamPaginator; updateClientSessionToken(clientSessionToken: SeamHttpOptionsWithClientSessionToken['clientSessionToken']): Promise; /** * Deletes a specified [Instant Key](https://docs.seam.co/capability-guides/instant-keys). */ delete(parameters: InstantKeysDeleteParameters, options?: InstantKeysDeleteOptions): InstantKeysDeleteRequest; /** * Gets an [instant key](https://docs.seam.co/capability-guides/instant-keys). */ get(parameters?: InstantKeysGetParameters, options?: InstantKeysGetOptions): InstantKeysGetRequest; /** * Returns a list of all [instant keys](https://docs.seam.co/capability-guides/instant-keys). */ list(parameters?: InstantKeysListParameters, options?: InstantKeysListOptions): InstantKeysListRequest; } export type InstantKeysDeleteParameters = { /** * ID of the Instant Key that you want to delete. */ instant_key_id: string; }; /** * @deprecated Use InstantKeysDeleteRequest instead. */ export type InstantKeysDeleteResponse = void; export type InstantKeysDeleteRequest = SeamHttpRequest; export interface InstantKeysDeleteOptions { } export type InstantKeysGetParameters = { /** * ID of the instant key to get. */ instant_key_id?: string | undefined; /** * URL of the instant key to get. */ instant_key_url?: string | undefined; }; /** * @deprecated Use InstantKeysGetRequest instead. */ export type InstantKeysGetResponse = { instant_key: InstantKey; }; export type InstantKeysGetRequest = SeamHttpRequest; export interface InstantKeysGetOptions { } export type InstantKeysListParameters = { /** * ID of the user identity by which you want to filter the list of Instant Keys. */ user_identity_id?: string | undefined; }; /** * @deprecated Use InstantKeysListRequest instead. */ export type InstantKeysListResponse = { instant_keys: Array; }; export type InstantKeysListRequest = SeamHttpRequest; export interface InstantKeysListOptions { }