export type PickerItem = { label: string; value: any; }; type Listener = (columns: PickerItem[][]) => void; declare class PickerServiceImpl { private seq; private pending; private columns; private listeners; private selection; private selectionListeners; private genId; private tryOpenModalWithReady; getSelection(id: string): number[] | undefined; updateSelection(id: string, indices: number[]): void; subscribeSelection(id: string, fn: (indices: number[]) => void): () => void; openPicker(options: { columns: PickerItem[][]; initialIndices?: number[]; title?: string; cancelLabel?: string; confirmLabel?: string; direction?: 'bottom' | 'top' | 'left' | 'right' | 'fade' | 'none' | 'ios'; }): Promise; openPickerControlled(options: { columns: PickerItem[][]; initialIndices?: number[]; title?: string; cancelLabel?: string; confirmLabel?: string; direction?: 'bottom' | 'top' | 'left' | 'right' | 'fade' | 'none' | 'ios'; }): { id: string; result: Promise; updateColumns: (cols: PickerItem[][]) => void; updateSelection: (indices: number[]) => void; close: () => void; }; getColumns(id: string): PickerItem[][] | undefined; subscribe(id: string, fn: Listener): () => void; update(id: string, cols: PickerItem[][]): void; resolve(id: string, values: any[]): void; reject(id: string, reason?: any): void; } export declare const PickerService: PickerServiceImpl; export declare const openPicker: (options: { columns: PickerItem[][]; initialIndices?: number[]; title?: string; cancelLabel?: string; confirmLabel?: string; direction?: "bottom" | "top" | "left" | "right" | "fade" | "none" | "ios"; }) => Promise; export declare const openPickerControlled: (options: { columns: PickerItem[][]; initialIndices?: number[]; title?: string; cancelLabel?: string; confirmLabel?: string; direction?: "bottom" | "top" | "left" | "right" | "fade" | "none" | "ios"; }) => { id: string; result: Promise; updateColumns: (cols: PickerItem[][]) => void; updateSelection: (indices: number[]) => void; close: () => void; }; export {}; //# sourceMappingURL=PickerService.d.ts.map