import { MaybePromise } from '@opensumi/ide-core-common'; import { ICodeEditor, IPosition, Selection } from '@opensumi/ide-monaco'; import { ERunStrategy, IInteractiveInputHandler } from '../../types'; type TRunStrategyFn = (editor: ICodeEditor, value: string) => MaybePromise; export declare class InteractiveInputModel { static ID: string; private _handler; private _strategyHandler; setHandler(h: IInteractiveInputHandler): void; handler(): IInteractiveInputHandler | undefined; setStrategyHandler(fn: TRunStrategyFn): void; strategyHandler(): TRunStrategyFn; dispose(): void; } export declare class InlineInputWidgetStoreInEmptyLine { private position; private value?; constructor(position: IPosition, value?: string | undefined); getPosition(): IPosition; setPosition(position: IPosition): void; getValue(): string | undefined; setValue(value: string): void; } export declare class InlineInputWidgetStoreInSelection { private selection; private value?; constructor(selection: Selection, value?: string | undefined); getSelection(): Selection; setSelection(selection: Selection): void; getValue(): string | undefined; setValue(value: string): void; } export {}; //# sourceMappingURL=model.d.ts.map