@player-ui/player
Version:
15 lines • 552 B
TypeScript
import { ViewInstance, ViewPlugin } from "../view";
import type { Options } from "./options";
import type { Parser } from "../parser";
import type { Resolver } from "../resolver";
/** A view plugin to resolve switches */
export default class SwitchPlugin implements ViewPlugin {
private readonly options;
constructor(options: Options);
private resolveSwitch;
private isSwitch;
applyParser(parser: Parser): void;
applyResolver(resolver: Resolver): void;
apply(view: ViewInstance): void;
}
//# sourceMappingURL=switch.d.ts.map