import { MediaChromeDialog } from './media-chrome-dialog.js'; type MediaErrorLike = { code: number; message: string; [key: string]: any; }; declare function getSlotTemplateHTML(attrs: Record): string; declare function formatErrorMessage(error: MediaErrorLike): string; /** * @slot - Not used; assign content to an `error-{code}` slot. * @slot error-{code} - Replaces the whole content for the given error code, e.g. `error-4`. * @slot error-{code}-title - Replaces the title for the given error code, e.g. `error-4-title`. * @slot error-{code}-message - Replaces the message for the given error code, e.g. `error-4-message`. * * @attr {number} mediaerrorcode - (read-only) The error code for the current media error. * @attr {string} mediaerrormessage - (read-only) The error message for the current media error. * * @cssproperty --media-control-background - `background` of control. */ declare class MediaErrorDialog extends MediaChromeDialog { #private; static getSlotTemplateHTML: typeof getSlotTemplateHTML; static formatErrorMessage: typeof formatErrorMessage; static get observedAttributes(): string[]; formatErrorMessage(error: MediaErrorLike): string; attributeChangedCallback(attrName: string, oldValue: string | null, newValue: string | null): void; get mediaError(): MediaErrorLike | null; set mediaError(value: MediaErrorLike | null); get mediaErrorCode(): number; set mediaErrorCode(value: number); get mediaErrorMessage(): any; set mediaErrorMessage(value: any); } export { MediaErrorDialog }; export default MediaErrorDialog;