import type { BtnsType, SuperButtonProps } from './../../btns'; import type { NoopType } from './../../shared'; import type { BtnsProps } from './types'; export declare function getBtnText(btn: boolean | string | undefined, defaultText: string): string; export interface GetBtnOptions { btn?: string | boolean | SuperButtonProps; onClick?: NoopType; disabled?: boolean; key?: string; htmlType?: 'submit' | 'reset'; type?: 'primary'; defaultText: string; } export declare function getBtn({ btn, onClick, key, type, htmlType, disabled, defaultText }: GetBtnOptions): SuperButtonProps; interface GetBtnsOptions extends BtnsProps { disabled?: boolean; } export declare function getBtns(options: GetBtnsOptions): BtnsType; export {};