/**
 * THIS IS GENERATED CODE!
 * PLEASE DO NOT MODIFY - ALL YOUR WORK WOULD BE LOST!
 */
export declare const typescriptDeclarationFixConstant = 1;
import { UiEvent } from "./UiEvent";
import { TeamAppsEvent } from "../modules/util/TeamAppsEvent";
import { UiComponentConfig } from "./UiComponentConfig";
import { UiSpacingConfig } from "./UiSpacingConfig";
import { UiComponentCommandHandler } from "./UiComponentConfig";
export interface UiNotificationConfig extends UiComponentConfig {
    _type?: string;
    backgroundColor?: string;
    padding?: UiSpacingConfig;
    dismissible?: boolean;
    displayTimeInMillis?: number;
    progressBarVisible?: boolean;
    content?: unknown;
    contentHeight?: number;
}
export interface UiNotificationCommandHandler extends UiComponentCommandHandler {
    close(): void;
    update(config: UiNotificationConfig): void;
}
export interface UiNotificationEventSource {
    onOpened: TeamAppsEvent<UiNotification_OpenedEvent>;
    onClosed: TeamAppsEvent<UiNotification_ClosedEvent>;
}
export interface UiNotification_OpenedEvent extends UiEvent {
}
export interface UiNotification_ClosedEvent extends UiEvent {
    byUser: boolean;
}
