Files
agency/.pnpm-store/v3/files/06/3d04e65c5cd1882ef8985a21629a503eb2627eb8082c5426c64b48ed80807baf0e3192df4cc30ed0e205b6de5c6b5113974369dac7c1bd9d02f8f31620eccb
hanzo-agent 5af6960b87 run project
Run: sess_f37640604ae254cb4d11dc6217f7b721
2026-09-30 00:04:56 +00:00

13 lines
559 B
Plaintext

/** Transient confirmation. Mount <Toaster /> once, then call toast() from anywhere. */
export interface ToasterProps {
/** Auto-dismiss in ms. */
duration?: number;
position?: 'bottom-right' | 'top-right';
}
export function Toaster(props: ToasterProps): JSX.Element;
export interface ToastOptions { description?: string; tone?: 'default' | 'success' | 'error' }
export const toast: ((message: string, opts?: ToastOptions) => number) & {
success(message: string, opts?: ToastOptions): number;
error(message: string, opts?: ToastOptions): number;
};