import React, { HTMLProps } from 'react';
import { SelectableValue } from '@grafarg/data';
import { SegmentProps } from '.';
export interface SegmentAsyncProps<T> extends SegmentProps<T>, Omit<HTMLProps<HTMLDivElement>, 'value' | 'onChange'> {
    value?: T | SelectableValue<T>;
    loadOptions: (query?: string) => Promise<Array<SelectableValue<T>>>;
    onChange: (item: SelectableValue<T>) => void;
}
export declare function SegmentAsync<T>({ value, onChange, loadOptions, Component, className, allowCustomValue, disabled, placeholder, ...rest }: React.PropsWithChildren<SegmentAsyncProps<T>>): JSX.Element;
