import { Result } from '@ephox/katamari'; import { type SugarElement } from '@ephox/sugar'; import { Chain } from './Chain'; import { Step } from './Step'; declare const getFocused: (doc: SugarElement) => Result, string>; declare const getActiveValue: (element: SugarElement) => string | undefined; declare const setFocus: (container: SugarElement, selector: string) => SugarElement; declare const setActiveValue: (doc: SugarElement, newValue: string, eventName?: string) => SugarElement; declare const isOn: (label: string, element: SugarElement) => SugarElement; declare const isOnSelector: (label: string, doc: SugarElement, selector: string) => SugarElement; declare const isOnByLabel: (errorLabel: string, doc: SugarElement, label: string) => SugarElement; declare const cGetFocused: Chain, SugarElement>; declare const sIsOn: (label: string, element: SugarElement) => Step; declare const sIsOnSelector: (label: string, doc: SugarElement, selector: string) => Step; declare const sTryOnSelector: (label: string, doc: SugarElement, selector: string, interval?: number, amount?: number) => Step; declare const pTryOnSelector: (label: string, doc: SugarElement, selector: string) => Promise>; declare const pTryOnByLabel: (errorLabel: string, doc: SugarElement, label: string) => Promise>; declare const cSetFocus: (label: string, selector: string) => Chain, SugarElement>; declare const cSetActiveValue: (newValue: string) => Chain, SugarElement>; declare const cGetActiveValue: Chain, string>; declare const sSetFocus: (label: string, container: SugarElement, selector: string) => Step; declare const sSetActiveValue: (doc: SugarElement, newValue: string) => Step; export { getActiveValue, setActiveValue, setFocus, getFocused, isOn, isOnSelector, isOnByLabel, pTryOnSelector, pTryOnByLabel, sSetActiveValue, sSetFocus, sIsOn, sIsOnSelector, sTryOnSelector, cSetFocus, cSetActiveValue, cGetActiveValue, cGetFocused }; //# sourceMappingURL=FocusTools.d.ts.map