import { type StackNotificationManagerProperties, type StackNotificationManagerProps, type StackOffset, type StackPosition, type StackPositionOffset } from './StackNotificationManager'; export declare const useStackInteraction:
() => { setActive: ({ id, active, position, }: { id: string; active: boolean; position: P; }) => void; setOffset: ({ offset, position, }: { offset: StackOffset
[keyof StackOffset
]; position: P; }) => void; setContentHeight: ({ id, height, position }: { id: string; height: number; position: P; }) => void; }; export declare const useStackNotificationManager:
({ id, position, }: { id: string; position: P; }) => { stackProps: StackNotificationManagerProps; setActive: (active: boolean) => void; setOffset: (offset: StackOffset[keyof StackOffset]) => void; }; export declare const useRepeatedStackItem:
({ id, position, }: { id: string; position: P; }) => { idList: string[]; append: () => void; onHide: (id: string) => void; }; export declare const useStackNotificationComponent:
({ active: stackActive, offset: stackOffset, position, stackPosition, setContentHeight, displayingTimeout, onHide, }: { [K in keyof Omit [K] | undefined; } & {
displayingTimeout: number;
onHide: (() => void) | undefined;
}) => {
active: boolean;
isShow: boolean;
clientHeight: number;
shouldAnimation: boolean;
position: {
vertical: "bottom" | "top";
horizontal: "left" | "center" | "right";
};
/**
* This is total height of stack from the top of the window to the bottom(top) of the notification component,
* including the height of the component.
*/
orderOffset: {
top: number;
bottom: number;
};
/**
* Offset from the edge of the window to the first stacked item.
*/
offset: StackPositionOffset;
/**
*
*/
initialHeight: {
top: number;
bottom: number;
};
/**
* This is used to handle stopping animation when user is focus on notification component.
*/
focusEvent: {
setIsShowWithTimeout: () => void;
resetTimeout: () => void;
};
setIsShow: import("react").Dispatch