@player-ui/player
Version:
13 lines • 646 B
TypeScript
import type { Options } from "./options";
import type { Resolver } from "../resolver";
import { ViewInstance, ViewPlugin } from "../view";
/** Recursively resolve all string references in an object or array */
export declare function resolveAllRefs(node: any, resolveOptions: Options, propertiesToSkip: Set<string | number>): any;
/** A plugin that resolves all string references for each node */
export default class StringResolverPlugin implements ViewPlugin {
private propertiesToSkipCache;
constructor();
applyResolver(resolver: Resolver): void;
apply(view: ViewInstance): void;
}
//# sourceMappingURL=string-resolver.d.ts.map