/**
 * Copyright (c) OpenLens Maintainers. All rights reserved.
 * Licensed under MIT License. See LICENSE in root directory for more information.
 */
/// <reference types="react" />
import "./namespace-select.scss";
import type { SelectProps } from "../select";
export type NamespaceSelectSort = (left: string, right: string) => number;
export interface NamespaceSelectProps<IsMulti extends boolean> extends Omit<SelectProps<string, {
    value: string;
    label: string;
}, IsMulti>, "options" | "value"> {
    showIcons?: boolean;
    sort?: NamespaceSelectSort;
    value: string | null | undefined;
}
export declare function NamespaceSelect<IsMulti extends boolean = false>(props: NamespaceSelectProps<IsMulti>): JSX.Element;
