import { FiltersMap } from '@wix/bex-core'; import { PickerStandaloneState } from '../../state'; import { PickerStandaloneLayoutProps } from '../PickerStandaloneLayout'; import { PickerProps } from '../Picker'; import { ReactElement, ReactNode } from 'react'; import { SelectorListContentProps, TextButtonProps } from '@wix/design-system'; import { PickerListItemProps } from '../PickerListItemProps'; export interface PickerStandaloneProps extends Partial> { dataHook?: string; /** * A picker standalone state instance created with [`usePickerStandalone`](/pages/cairo/?path=/story/components-pickerstandalone-hooks--usepickerstandalone) */ state: PickerStandaloneState; /** * A function that renders an item row in the `SelectorList` */ renderItem?: (item: T, index: number, options: { isMobileView?: boolean; }) => Partial; /** * A render function to be rendered when there're no items to show in the table.
* You can use the built in [``](/pages/cairo/?path=/story/components-collection-features--empty-state).
* The function accepts the following parameters * * `hasAvailableItems`: Indicates whether other items might have been shown using other filtering / search * * `query`: An instance of [`ComputedQuery`](/pages/cairo/?path=/story/common-models--computedquery) that represents the query that resulted with an empty state */ renderEmptyState?: PickerProps['renderEmptyState']; renderError: PickerProps['renderError']; /** Show a warning at the top of the list when not all available items are currently showed */ hiddenItemsWarningText?: ReactNode; /** Picker title if not provided via URL query parameter */ defaultTitle?: string; /** Picker subtitle if not provided via URL query parameter */ defaultSubtitle?: string; /** The text for the item primary button, if not provided via URL query parameter */ defaultPrimaryButtonText?: string; /** Limits the number of lines for the title */ titleMaxLines?: number; /** Hides the search input of the picker */ hideSearch?: boolean; /** * Additional props to pass to [SelectorList](https://www.docs.wixdesignsystem.com/?path=/story/components-lists--selectorlist), i.e `imageSize`, `imageShape` etc. */ selectorListProps?: Partial; /** * The width of the primary action item. * can be fixed or using [minmax](https://developer.mozilla.org/en-US/docs/Web/CSS/minmax()) */ primaryActionWidth?: string; /** * Adds side action TextButton to the footer, with Add icon. Only `TextButton` React element is supported. */ createNewAction?: ReactElement; minContentHeight?: number | string; /** * Height for mobile layout container * @default 100vh */ mobileHeight?: number | string; } export declare function _PickerStandalone(props: PickerStandaloneProps): JSX.Element; export declare const PickerStandalone: typeof _PickerStandalone & { displayName: string; }; //# sourceMappingURL=PickerStandalone.d.ts.map