
import { ToastApi, ToastType } from "./types.js";
import { ReactNode } from "react";

//#region src/components/overlays/Toast/useToast.d.ts
/**
 * Get the appropriate icon for a toast based on theme and loading state.
 * - When loading, returns the provided icon as-is (loading indicator is separate)
 * - When not loading, returns the provided icon or falls back to theme-based default
 */
declare function getThemeIcon(theme: ToastType | undefined, icon: ReactNode | undefined, isLoading?: boolean): ReactNode | undefined;
/**
 * Hook to display toast notifications.
 *
 * @example
 * ```tsx
 * const toast = useToast();
 *
 * // String shorthand
 * toast.success('Copied to clipboard');
 *
 * // Object with options
 * toast.success({
 *   title: 'Success',
 *   description: 'File copied to clipboard',
 *   icon: <CustomIcon />,
 *   duration: 3000,
 * });
 *
 * // Methods: toast(), toast.success(), toast.danger(), toast.warning(), toast.note()
 * ```
 */
declare function useToast(): ToastApi;
//#endregion
export { getThemeIcon, useToast };
//# sourceMappingURL=useToast.d.ts.map