import React from 'react';
/**
 * @deprecatedSince 9
 * @deprecated Never officially documented/supported
 */
export interface ListNavigationConfig {
    circular?: boolean;
    initialIndex?: number;
    size?: number;
}
/**
 * @deprecatedSince 9
 * @deprecated Never officially documented/supported
 */
export interface ListNavigationApi {
    clear: () => void;
    decrement: () => void;
    decrementBy: (amount: number) => void;
    increment: () => void;
    incrementBy: (amount: number) => void;
    index: number;
    reset: () => void;
    set: (index: number) => void;
    setSize: (index: number) => void;
    size: number;
}
interface Props extends ListNavigationConfig {
    children?: React.ReactNode;
}
interface RenderProps extends ListNavigationConfig {
    children: (props: ListNavigationApi) => {};
}
/**
 * @deprecatedSince 9
 * @deprecated Never officially documented/supported
 */
export declare function useListNavigation({ circular, initialIndex, size: initialSize, }: ListNavigationConfig): ListNavigationApi;
/**
 * @deprecatedSince 9
 * @deprecated Never officially documented/supported
 */
export declare function ListNavigation({ children, ...props }: RenderProps): {};
/**
 * @deprecatedSince 9
 * @deprecated Never officially documented/supported
 */
export declare const defaultApi: {
    clear: () => void;
    decrement: () => void;
    decrementBy: () => void;
    increment: () => void;
    incrementBy: () => void;
    index: number;
    reset: () => void;
    set: () => void;
    setSize: () => void;
    size: number;
};
/**
 * @deprecatedSince 9
 * @deprecated Never officially documented/supported
 */
export declare const ListNavigationContext: React.Context<ListNavigationApi>;
/**
 * @deprecatedSince 9
 * @deprecated Never officially documented/supported
 */
export declare function ListNavigationProvider({ children, ...props }: Props): React.JSX.Element;
/**
 * @deprecatedSince 9
 * @deprecated Never officially documented/supported
 */
export declare const useListNavigationContext: () => ListNavigationApi;
export {};
