import { type Accessor, type JSXElement } from "solid-js";
import "./index.css";
export declare const MODAL_LIST_POSITION: readonly ["top-left", "top-right", "bottom-left", "bottom-right", "top", "bottom"];
export type ModalListPosition = (typeof MODAL_LIST_POSITION)[number];
import "../animation/fade.css";
export interface ModalListProps<T> {
    maxStackItem?: number;
    each: T[];
    by: (item: T, index: number) => string | number;
    children: (item: T, index: Accessor<number>) => JSXElement;
    stack?: boolean;
    position?: ModalListPosition;
    itemSize?: {
        width: number;
        height: number;
    };
}
export declare const ModalList: <T>(props: import("@cn-ui/reactive").OriginComponentOutputType<ModalListProps<T>, HTMLDivElement, boolean>) => import("solid-js").JSX.Element;
