/*!
 * Copyright (c) 2022-present, Okta, Inc. and/or its affiliates. All rights reserved.
 * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (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 CONDITIONS OF ANY KIND, either express or implied.
 *
 * See the License for the specific language governing permissions and limitations under the License.
 */
import { HtmlProps } from "./HtmlProps.js";
export declare const toastRoleValues: readonly ["status", "alert"];
export declare const toastSeverityValues: readonly ["success", "info", "warning", "error"];
export type ToastProps = {
    /**
     * If set, this determines how long the Toast should appear before automatically disappearing in milliseconds.
     * It will only take effect if the Toast is not dismissible.
     * If left blank, it defaults to 6000.
     */
    autoHideDuration?: number;
    /**
     * If `true`, the Toast will include a close button.
     */
    isDismissable?: boolean;
    /**
     * If true, the Toast is visible
     */
    isVisible?: boolean;
    /**
     * If linkUrl is not undefined, this is the text of the link.
     * If left blank, it defaults to "Learn more".
     * Note that linkText does nothing if linkUrl is not defined
     */
    linkText?: string;
    /**
     * If defined, the Toast will include a link to the URL
     */
    linkUrl?: string;
    /**
     * An optional function to run when the Toast is closed.
     */
    onHide?: () => void;
    /**
     * Sets the ARIA role of the Toast
     * ("status" for something that dynamically updates, "alert" for errors, null for something
     * unchanging)
     */
    role?: (typeof toastRoleValues)[number];
    /**
     * Determine the color and icon of the Toast
     */
    severity: (typeof toastSeverityValues)[number];
    /**
     * The text content of the Toast
     */
    text: string;
} & Pick<HtmlProps, "testId" | "translate">;
declare const MemoizedToast: import("react").MemoExoticComponent<({ autoHideDuration, isDismissable, linkText, linkUrl, isVisible: isVisibleProp, onHide: onHideProp, role, severity, testId, text, translate, }: ToastProps) => import("@emotion/react/jsx-runtime").JSX.Element>;
export { MemoizedToast as Toast };
//# sourceMappingURL=Toast.d.ts.map