import { Chain, Cursors, type StructAssert } from '@ephox/agar'; import type { Editor } from '../../alien/EditorTypes'; import type { Presence } from './TinyApis'; export interface ApiChains { cNodeChanged: () => Chain; cSetContent: (html: string) => Chain; cSetRawContent: (html: string) => Chain; cSetSelectionFrom: (spec: Cursors.CursorSpec | Cursors.RangeSpec) => Chain; cSetSelection: (startPath: number[], soffset: number, finishPath: number[], foffset: number) => Chain; cSetCursor: (elementPath: number[], offset: number) => Chain; /** @deprecated use cSetOption instead */ cDeleteSetting: (key: string) => Chain; cUnsetOption: (key: string) => Chain; /** @deprecated use cSetOption instead */ cSetSetting: (key: string, value: any) => Chain; cSetOption: (key: string, value: any) => Chain; cGetContent: Chain; cExecCommand: (command: string, value?: any) => Chain; cAssertContent: (expected: string) => Chain; cAssertContentPresence: (expected: Presence) => Chain; cAssertContentStructure: (expected: StructAssert) => Chain; cSelect: (selector: string, path: number[]) => Chain; cFocus: Chain; cAssertSelection: (startPath: number[], soffset: number, finishPath: number[], foffset: number) => Chain; } export declare const ApiChains: ApiChains; //# sourceMappingURL=ApiChains.d.ts.map