import type { SanitizedCollectionConfig } from 'payload/types';
import type React from 'react';
import type { HTMLAttributes } from 'react';
import type { FilterOptionsResult } from '../../forms/fields/Relationship/types';
export type ListDrawerProps = {
    collectionSlugs: string[];
    customHeader?: React.ReactNode;
    drawerSlug?: string;
    filterOptions?: FilterOptionsResult;
    onSelect?: (args: {
        collectionSlug: SanitizedCollectionConfig['slug'];
        docID: string;
    }) => void;
    selectedCollection?: string;
};
export type ListTogglerProps = HTMLAttributes<HTMLButtonElement> & {
    children?: React.ReactNode;
    className?: string;
    disabled?: boolean;
    drawerSlug?: string;
};
export type UseListDrawer = (args: {
    collectionSlugs?: string[];
    filterOptions?: FilterOptionsResult;
    selectedCollection?: string;
    uploads?: boolean;
}) => [
    React.FC<Pick<ListDrawerProps, 'onSelect'>>,
    React.FC<Pick<ListTogglerProps, 'children' | 'className' | 'disabled'>>,
    {
        closeDrawer: () => void;
        drawerDepth: number;
        drawerSlug: string;
        isDrawerOpen: boolean;
        openDrawer: () => void;
        toggleDrawer: () => void;
    }
];
//# sourceMappingURL=types.d.ts.map