import * as React from 'react';
import { useAnchorPositioning, type Side, type Align } from "../../utils/useAnchorPositioning.js";
import type { BaseUIComponentProps } from "../../utils/types.js";
import type { ToastObject } from "../useToastManager.js";
/**
* Positions the toast against the anchor.
* Renders a `
` element.
*
* Documentation: [Base UI Toast](https://base-ui.com/react/components/toast)
*/
export declare const ToastPositioner: React.ForwardRefExoticComponent
>;
export interface ToastPositionerState {
side: Side;
align: Align;
anchorHidden: boolean;
}
export interface ToastPositionerProps extends BaseUIComponentProps<'div', ToastPositioner.State>, Omit {
/**
* An element to position the toast against.
*/
anchor?: Element | null;
/**
* Which side of the anchor element to align the toast against.
* May automatically change to avoid collisions.
* @default 'top'
*/
side?: Side;
/**
* The toast object associated with the positioner.
*/
toast: ToastObject;
}
export declare namespace ToastPositioner {
type State = ToastPositionerState;
type Props = ToastPositionerProps;
}