/**
 * ListContext
 *
 * Context that provides list state to ListItem children.
 */
/// <reference types="react" />
export declare enum ListMode {
    NONE = 0,
    CHECK = 1,
    RADIO = 2
}
export type ListInstance = {
    exists: boolean;
    mode: ListMode;
    value: any;
    setValue: (value: any) => any;
};
export declare const ListContext: import("react").Context<ListInstance>;
export declare function useList(): ListInstance;
