import { type ReactNode } from "react";
import { type IntlShape } from "react-intl";
/**
 * @internal
 */
export interface IHeaderWorkspace {
    id: string;
    title: string;
    description: string;
    isDemo?: boolean;
}
/**
 * @internal
 */
export interface IHeaderWorkspacePickerProps {
    intl: IntlShape;
    className?: string;
    isLoading?: boolean;
    selectedWorkspace?: IHeaderWorkspace;
    workspaces?: IHeaderWorkspace[];
    totalWorkspacesCount?: number;
    searchString?: string;
    showSearch?: boolean;
    projectPickerFooter?: ReactNode;
    onOpen?: () => void;
    onSearch?: (searchString: string) => void;
    onSelect?: (item: IHeaderWorkspace) => void;
    onOpenStateChanged?: (isOpen: boolean) => void;
    loadNextPage?: () => void;
    hasNextPage?: boolean;
    skeletonItemsCount?: number;
    isNextPageLoading?: boolean;
    shouldLoadNextPage?: (lastItemIndex: number, itemsCount: number, skeletonItemsCount: number) => boolean;
}
/**
 * @internal
 */
export declare const HeaderWorkspacePicker: import("react").FC<import("react-intl").WithIntlProps<IHeaderWorkspacePickerProps>> & {
    WrappedComponent: import("react").ComponentType<IHeaderWorkspacePickerProps>;
};
//# sourceMappingURL=HeaderWorkspacePicker.d.ts.map