arc-vite
Version:
Declaratively bundle and execute code specific to your users ARC and Vite.
14 lines (13 loc) • 401 B
TypeScript
import Resolver from "arc-resolver";
import { type FlagSet } from "./flags";
export type Matches = {
default: string;
alternates: [Match, ...Match[]];
};
export type Match = {
flags: FlagSet;
value: string;
};
export declare const resolver: Resolver;
export declare function getMatches(id: string, flagSets: FlagSet[]): Matches | undefined;
export declare function clearCache(): void;