import type { HTMLButtonAttributes } from 'svelte/elements';
type Option = {
key: string;
label: string;
unit?: string;
};
type $$ComponentProps = Omit & {
options: Option[];
selected_key?: string;
on_select?: (key: string, prev_key?: string) => void | Promise;
disabled?: boolean;
format_option?: (opt: Option) => string;
};
declare const PortalSelect: import("svelte").Component<$$ComponentProps, {}, "selected_key">;
type PortalSelect = ReturnType;
export default PortalSelect;