import React from "react";
import { View, ScrollView, ViewStyle } from "react-native";
import scrollpickerStyles from "./styles";
export { scrollpickerStyles };
interface ListItem {
    label: string | number;
    [propName: string]: any;
}
export interface ScrollpickerProps {
    style?: ViewStyle;
    list?: Array<Array<ListItem>> | any;
    value?: number[];
    proportion?: number[];
    offsetCount?: number;
    onChange?: Function;
    renderItem?: Function;
}
interface ScrollpickerState {
    list: Array<Array<ListItem>>;
    value: number[];
    proportion: number[];
    targetItemHeight: null | number;
    containerHeight: null | number;
}
export declare class Scrollpicker extends React.Component<ScrollpickerProps, ScrollpickerState> {
    containerRef: View | null;
    scrollers: ScrollView[];
    targetItemHeight: null | number;
    containerHeight: null | number;
    static defaultProps: {
        style: {};
        list: string[][];
        value: never[];
        proportion: number[];
        offsetCount: number;
        onChange: null;
        renderItem: null;
    };
    constructor(props: any);
    initialize(props: any): {
        list: any;
        value: any;
        proportion: any;
    };
    initData(props: any): {
        list: any;
        value: any;
        proportion: any;
    };
    componentDidMount(): void;
    componentWillReceiveProps(nextProps: any): void;
    getUIData(element: any, accurateHeight: any, maxCount?: any): Promise<unknown>;
    resizeContainerHeight(targetItemHeight: any): any;
    locateIndicator(targetItemHeight: any): JSX.Element;
    scrollTo(scrollIndex: any, targetItemIndex: any, animated?: any): void;
    onScroll(scrollIndex: any, scrollHeight: any): void;
    scrollProper(scrollIndex: any, scrollHeight: any, animated?: any): number;
    render(): JSX.Element;
}
