import React from 'react'; import './Method.less'; export declare type MethodType = 'get' | 'post' | 'put' | 'delete'; export interface MethodProps extends Omit, 'onChange'> { editable?: boolean; value?: MethodType; size?: 'x-small' | 'small' | 'middle' | 'large'; onChange?: (value: MethodType) => void; getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement; } declare const Method: (props: MethodProps) => JSX.Element; export default Method;