/**
 * Copyright IBM Corp. 2019, 2024
 *
 * This source code is licensed under the Apache-2.0 license found in the
 * LICENSE file in the root directory of this source tree.
 */
import { LitElement } from 'lit';
import { NOTIFICATION_KIND, NOTIFICATION_TYPE } from './defs';
export { NOTIFICATION_KIND, NOTIFICATION_TYPE };
declare const CDSInlineNotification_base: (new (...args: any[]) => {
    focus(): void;
}) & typeof LitElement;
/**
 * Inline notification.
 *
 * @element cds-custom-inline-notification
 * @slot subtitle - The subtitle.
 * @slot title - The title.
 * @fires cds-custom-notification-beingclosed
 *   The custom event fired before this notification is being closed upon a user gesture.
 *   Cancellation of this event stops the user-initiated action of closing this notification.
 * @fires cds-custom-notification-closed - The custom event fired after this notification is closed upon a user gesture.
 */
declare class CDSInlineNotification extends CDSInlineNotification_base {
    /**
     * Current timeout identifier
     */
    protected _timeoutID: number | null;
    /**
     * Notification type.
     */
    protected _type: NOTIFICATION_TYPE;
    /**
     * Cancels the current timeout configured for the notification
     *
     * @param timeoutID current timeout's identifier
     */
    protected _cancelTimeout(timeoutID: number): void;
    /**
     * Overrides (if exists) the timeout to close the notification
     *
     * @param timeout the time in ms
     */
    protected _initializeTimeout(timeout: number): void;
    /**
     * Handles `click` event on the close button.
     *
     * @param event The event.
     * @param event.target The event target.
     */
    protected _handleClickCloseButton({ target }: MouseEvent): void;
    /**
     * Handles user-initiated or through timer close request of this modal.
     *
     * @param triggeredBy The element that triggered this close request, if there is one.
     */
    protected _handleUserOrTimerInitiatedClose(triggeredBy: EventTarget | null): void;
    /**
     * @returns The template part for the close button.
     */
    protected _renderButton(): import("lit-html").TemplateResult<1>;
    /**
     * @returns The template part for the text contents.
     */
    protected _renderText(): import("lit-html").TemplateResult<1>;
    /**
     * @returns The template part for the icon.
     */
    protected _renderIcon(): import("lit-html/directive.js").DirectiveResult<typeof import("lit-html/directives/unsafe-svg.js").UnsafeSVGDirective> | null | undefined;
    /**
     * Provide a description for "close" icon button that can be read by screen readers
     */
    ariaLabel: string;
    /**
     * `true` to hide the close button.
     */
    hideCloseButton: boolean;
    /**
     * Provide a description for "status" icon that can be read by screen readers
     */
    statusIconDescription: string;
    /**
     * Notification kind.
     */
    kind: NOTIFICATION_KIND;
    /**
     * Low contrast mode
     */
    lowContrast: boolean;
    /**
     * `true` if the notification should be open.
     */
    open: boolean;
    /**
     * Specify an optional duration the notification should be closed in
     */
    timeout: number | null;
    /**
     * The subtitle.
     */
    subtitle: string;
    /**
     * The title.
     */
    title: string;
    connectedCallback(): void;
    updated(changedProperties: any): void;
    render(): import("lit-html").TemplateResult<1>;
    /**
     * The name of the custom event fired before this notification is being closed upon a user gesture.
     * Cancellation of this event stops the user-initiated action of closing this notification.
     */
    static get eventBeforeClose(): string;
    /**
     * The name of the custom event fired after this notification is closed upon a user gesture.
     */
    static get eventClose(): string;
    static styles: any;
}
export default CDSInlineNotification;
//# sourceMappingURL=inline-notification.d.ts.map