import type { CSSProperties } from '@lynx-js/types'; import type { ReactNode } from 'react'; import type { PickerViewProps as TaroPickerViewPropsBase } from '@tarojs/components'; import type { PickerViewProps as LynxPickerViewProps, PickerColumnOption } from '@byted-doubao-apps/framework/components'; export type TaroPickerViewProps = TaroPickerViewPropsBase & { children?: ReactNode; theme?: LynxPickerViewProps['theme']; }; export type TaroPickerViewColumnProps = { children?: ReactNode; range?: Array; className?: string; style?: CSSProperties; }; export type PickerViewChangeEvent = { type: string; timeStamp: number; target: { id: string; tagName: string; dataset: Record; }; currentTarget: { id: string; tagName: string; dataset: Record; }; detail: { value: number[]; }; preventDefault: () => void; stopPropagation: () => void; }; export declare function toPickerViewChangeEvent(indices: number[], pickerViewId?: string): PickerViewChangeEvent; export declare function buildOptionsFromRange(range?: Array): PickerColumnOption[]; export declare function buildOptionsFromChildren(children?: ReactNode): PickerColumnOption[]; export declare function resolveSelectedIndexValue(indices: number[] | undefined, columnIndex: number, options: PickerColumnOption[]): number | undefined; export declare function mapPickerViewProps(props: TaroPickerViewProps): { mapped: Pick & Record; unsupported: string[]; pickerViewId: string; indicatorItemHeight: number | undefined; }; export declare function mapPickerViewColumnProps(props: TaroPickerViewColumnProps): { className?: string; style?: CSSProperties; unsupported: string[]; }; export declare function resolveItemHeightFromChildren(children?: ReactNode): number | undefined; export declare function resolveExplicitItemHeight(itemHeight: unknown): number | undefined; export declare function resolveItemHeightFromIndicatorStyle(indicatorStyle: unknown): number | undefined; //# sourceMappingURL=map.d.ts.map