import { ComputedRef } from 'vue';
import { CLToastProps } from '../index.ts';
interface UseToastReturn {
/**
* Whether a toast is currently visible.
*
* This value is always a boolean. When used without a ``,
* it will remain `false` and `showToast` / `hideToast` will be safe no-ops.
*/
visible: ComputedRef;
/**
* Show a toast using the configured provider.
*
* When called without a ``, this function is a no-op
* and will not throw, but a console warning will have been emitted when
* the composable was first used.
*/
showToast: (input: Omit) => void;
/**
* Hide the current toast using the configured provider.
*
* When called without a ``, this function is a no-op.
*/
hideToast: () => void;
}
/**
* Composable to control toasts via the `CLToastProvider`.
* Must be used within a `CLToastProvider` component for full functionality.
*/
export declare const useToast: () => UseToastReturn;
export {};