/** * Call Dialpad Component * * Wrapper around `sw-dialpad` that integrates with a Call. * When a call is connected, digit presses send DTMF tones. * When no call is active, the dial event bubbles up for the parent to handle. * * Input precedence (most specific wins): `.call` > context. * * @example * ```html * * * * ``` * * @csspart container - Outer dialpad container. * @csspart display - Number / text display field. * @csspart keypad - Grid of digit keys. * @csspart key - Individual digit button. * @csspart key-pressed - Digit button while pressed. * @csspart call-button - The call button (when `show-call-button`). * * @fires sw-digit-press - A digit was pressed. Detail: `{ digit: string, digits: string }`. * @fires sw-dial - User pressed the call button. Detail: `{ digits: string }`. */ import { LitElement } from 'lit'; import type { Call } from '../types/index.js'; import './UI/controls/sw-ui-dialpad.js'; export declare class SwCallDialpad extends LitElement { private _callState?; /** Explicit Call — when set, drives DTMF directly and bypasses context. */ call?: Call; private _directStatus; private _directSubscriptions; /** Whether to display the call button below the keypad. */ showCallButton: boolean; /** Allow free-text input in the display field (e.g., SIP URIs, vanity letters). */ allowText: boolean; /** Placeholder text shown in the digit display input. */ placeholder: string; protected updated(changed: Map): void; disconnectedCallback(): void; private _onDigitPress; render(): import("lit-html").TemplateResult<1>; } declare global { interface HTMLElementTagNameMap { 'sw-call-dialpad': SwCallDialpad; } } //# sourceMappingURL=sw-call-dialpad.d.ts.map