import { Observable, type JSX } from 'woby'; export declare const ArrayContext: JSX.Context; export type ArrayProp = { children?: T[] | T; arrayContext?: (children: T[]) => A; itemContext?: (item: T, index: number, arrayContext: A) => I; ref?: JSX.Refs; }; export declare function useArray(): T; export declare const array: ({ children, arrayContext, itemContext, ref, ...props }: ArrayProp) => JSX.Child[] & A; export declare const Array: (props: ArrayProp) => JSX.Child[] & L; export declare const defaultArray: ({ children, arrayContext: ac, itemContext: ic }: ArrayProp[]; }, { ref: Observable; }>) => JSX.Child[] & { refs: Observable[]; }; export declare const DefaultArray: ({ children }: ArrayProp[]; }, { ref: Observable; }>) => JSX.Child; export declare const useDefaultArray: () => { refs: Observable[]; ref: Observable; index: number; item: T; }; //# sourceMappingURL=Array.d.ts.map