/** * Copyright 2025 Adobe. All rights reserved. * This file is licensed to you under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS * OF ANY KIND, either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ import { CSSResultArray, PropertyValues, TemplateResult } from '@spectrum-web-components/base'; import '@spectrum-web-components/button-group/sp-button-group.js'; import '@spectrum-web-components/button/sp-close-button.js'; import '@spectrum-web-components/divider/sp-divider.js'; import '@spectrum-web-components/icons-workflow/icons/sp-icon-alert.js'; import { AlertDialog } from '@spectrum-web-components/alert-dialog/src/AlertDialog.js'; import type { CloseButton } from '@spectrum-web-components/button'; declare const Dialog_base: typeof AlertDialog & { new (...args: any[]): import("@spectrum-web-components/shared").SlotPresenceObservingInterface; prototype: import("@spectrum-web-components/shared").SlotPresenceObservingInterface; }; /** * @element sp-dialog * * @slot hero - Accepts a hero image to display at the top of the dialog * @slot heading - Acts as the heading of the dialog. This should be an actual heading tag `` * @slot - Content not addressed to a specific slot will be interpreted as the main content of the dialog * @slot footer - Content addressed to the `footer` will be placed below the main content and to the side of any `[slot='button']` content * @slot button - Button elements addressed to this slot may be placed below the content when not delivered in a fullscreen mode * @fires close - Announces that the dialog has been closed. */ export declare class Dialog extends Dialog_base { static get styles(): CSSResultArray; closeButton?: CloseButton; error: boolean; dismissable: boolean; dismissLabel: string; protected get hasFooter(): boolean; protected get hasButtons(): boolean; protected get hasHero(): boolean; noDivider: boolean; mode?: 'fullscreen' | 'fullscreenTakeover'; size?: 's' | 'm' | 'l'; close(): void; protected renderHero(): TemplateResult; protected renderFooter(): TemplateResult; protected renderButtons(): TemplateResult; protected renderDismiss(): TemplateResult; protected render(): TemplateResult; protected shouldUpdate(changes: PropertyValues): boolean; protected firstUpdated(changes: PropertyValues): void; protected updated(changes: PropertyValues): void; } export {};