import { CortiRoot } from "../core/components/corti-root.js"; import type { Corti, CortiAuth } from "@corti/sdk"; import type { DictationRoot } from "../contexts/dictation-context.js"; import type { DictationRecordingButton } from "./dictation-recording-button.js"; import "../contexts/dictation-context.js"; import "./dictation-recording-button.js"; import "./dictation-settings-menu.js"; export declare class CortiDictation extends CortiRoot { /** * Published package version. `0.0.0-dev` in local builds. */ get version(): string; /** * Overrides any device selection and instead uses getDisplayMedia to stream system audio. * Should only be used for debugging. */ debug_displayAudio: boolean; /** * Configuration settings for dictation */ set dictationConfig(value: Corti.TranscribeConfig); get dictationConfig(): Corti.TranscribeConfig; _dictationConfig: Corti.TranscribeConfig; /** * Set the latest access token. * @returns ServerConfig with environment, tenant, and accessToken * @deprecated Use 'accessToken' property instead. */ setAccessToken(token: string): { accessToken: string | undefined; environment: string | undefined; tenant: string | undefined; }; /** * Set the auth configuration for OAuth flows. * @returns Promise with ServerConfig containing environment, tenant, and accessToken * @deprecated Use 'authConfig' property instead. */ setAuthConfig(config: CortiAuth.AuthTokenDerivable): Promise<{ accessToken: string | undefined; environment: string | undefined; tenant: string | undefined; } | { accessToken: undefined; environment: undefined; tenant: undefined; }>; render(): import("lit").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { "corti-dictation": CortiDictation; } }