-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extract AbstractEngineManager into .d.mts file
- Loading branch information
Showing
3 changed files
with
31 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
* This file is part of Mark My Search. | ||
* Copyright © 2021-present ‘ator-dev’, Mark My Search contributors. | ||
* Licensed under the EUPL-1.2-or-later. | ||
*/ | ||
|
||
import type { HighlighterCounterInterface, HighlighterWalkerInterface } from "/dist/modules/highlight/model.d.mjs"; | ||
import type { Highlighter } from "/dist/modules/highlight/engine.d.mjs"; | ||
import type { Engine, PaintEngineMethod } from "/dist/modules/common.mjs"; | ||
|
||
interface AbstractEngineManager extends Highlighter, HighlighterCounterInterface, HighlighterWalkerInterface { | ||
readonly setEngine: (preference: Engine) => Promise<void> | ||
|
||
readonly applyEngine: () => void | ||
|
||
readonly removeEngine: () => void | ||
|
||
readonly signalPaintEngineMethod: (preference: PaintEngineMethod) => void | ||
|
||
readonly applyPaintEngineMethod: (preference: PaintEngineMethod) => Promise<void> | ||
|
||
readonly setSpecialEngine: () => Promise<void> | ||
|
||
readonly removeSpecialEngine: () => void | ||
} | ||
|
||
export type { AbstractEngineManager }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters