import { ComponentPropsWithRef, ComponentPropsWithoutRef, ElementType, PropsWithChildren, ReactNode } from "react"; import * as react_jsx_runtime1 from "react/jsx-runtime"; //#region src/types.d.ts type BreakPoints = Record | Array; type BreakPointsArray = Array; type BreakPointSpec = BreakPoints | BreakPointsArray; type Columns = number | BreakPointSpec; type AsProp = { as?: T; }; type PropsToOmit = keyof (AsProp & P); type PolymorphicComponentProp = PropsWithChildren> & Omit, PropsToOmit>; type PolymorphicComponentPropWithRef = PolymorphicComponentProp & { ref?: PolymorphicRef; }; type PolymorphicRef = ComponentPropsWithRef['ref']; type MasonryOwnProps = { columns?: Columns; gap?: number; columnProps?: PolymorphicComponentPropWithRef; }; type MasonryProps = PolymorphicComponentPropWithRef>; //#endregion //#region src/Masonry.d.ts declare const Masonry: (props: MasonryProps) => react_jsx_runtime1.JSX.Element; //#endregion //#region src/useMasonry.d.ts declare const useMasonry: (children: ReactNode, columns?: Columns) => ReactNode[][]; //#endregion //#region src/context.d.ts interface MasonryItemContextValues { column: number; position: number; } declare const useMasonryItem: () => MasonryItemContextValues; //#endregion export { BreakPointSpec, BreakPoints, BreakPointsArray, Columns, MasonryProps, PolymorphicRef, Masonry as default, useMasonry, useMasonryItem }; //# sourceMappingURL=index.d.ts.map