import { type SelectableValue } from '@grafana/data';
export declare const defaultIntervals: string[];
export interface Props {
    intervals?: string[];
    onRefresh?: () => void;
    onIntervalChanged: (interval: string) => void;
    value?: string;
    tooltip?: string;
    isLoading?: boolean;
    isLive?: boolean;
    text?: string;
    loadingText?: string;
    noIntervalPicker?: boolean;
    showAutoInterval?: boolean;
    width?: string;
    primary?: boolean;
    isOnCanvas?: boolean;
}
export declare const RefreshPicker: import("react").NamedExoticComponent<Props> & {
    readonly type: (props: Props) => import("react/jsx-runtime").JSX.Element;
} & {
    isLive: (refreshInterval?: string) => boolean;
    liveOption: {
        label: string;
        value: string;
        ariaLabel: string;
    };
    offOption: {
        label: string;
        value: string;
        ariaLabel: string;
    };
    autoOption: {
        label: string;
        value: string;
        ariaLabel: string;
    };
};
export declare const translateOption: (option: string) => SelectableValue<string>;
export declare const intervalsToOptions: ({ intervals, showAutoInterval, }?: {
    intervals?: string[];
    showAutoInterval?: boolean;
}) => Array<SelectableValue<string>>;
