import { LitElement } from 'lit'; import './sw-call-widget/sw-call-widget.js'; import './UI/layout/sw-ui-background.js'; import './UI/icons/sw-ui-icon.js'; /** * Click-to-call button that opens a full call widget. * * Thin wrapper around `sw-call-widget` in modal mode. Renders a styled * call button; clicking it dials the preconfigured destination and opens * the call UI in a modal overlay. * * @prop {string} token - SignalWire SAT or embed token * @prop {string} host - Optional server host * @prop {string} destination - Call destination (address or resource) * @prop {string} label - Button text (default "Call") * @prop {boolean} audioOnly - Audio-only mode (no video send/receive) * * @fires sw-dial - Fired when the call is initiated. Detail: `{ destination }`. * @fires sw-call-ended - Fired when the call reaches a terminal state (any reason). Detail: `{ status }`. * @fires sw-call-hangup - Fired when the user clicks the hangup button (does not fire on remote disconnect). * * Themed via the SignalWire DTCG tokens (`--interactive-status-success`, * `--type-family-body`, `--type-size-body`, `--radius-md`, `--transition-fast`). */ export declare class SwClickToCall extends LitElement { static styles: import("lit").CSSResult[]; token: string; host: string; destination: string; label: string; audioOnly: boolean; render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'sw-click-to-call': SwClickToCall; } } //# sourceMappingURL=sw-click-to-call.d.ts.map