export interface ParsedSpecifier { kind: 'z2f'; /** The path portion without the query suffix. */ path: string; /** Variant name (`''` for the bare `?z2f` default). */ variant: string; } /** * Parse a Vite import specifier and decide whether the plugin handles it. * * Returns: * - A {@link ParsedSpecifier} when the specifier carries a `?z2f` query * that is well-formed * - `null` when the specifier doesn't reference z2f at all (so other * Vite plugins get their turn via the standard `resolveId` chain) * * Throws {@link Z2FViteError} when the specifier *intends* to use z2f * (contains `z2f` as a query token) but is malformed — composed with * other known queries, has an invalid variant name, or uses a reserved * internal prefix. */ export declare function parseSpecifier(specifier: string): ParsedSpecifier | null; //# sourceMappingURL=parse-specifier.d.ts.map