/** * Strip surrounding `'…'` or `"…"` quotes from a CSS string token, then * decode CSS escape sequences inside the unwrapped value. * * Uses postcss-value-parser for tokenisation so escaped quotes inside the * body (`'foo\'bar'`, `"foo\"bar"`) are recognised correctly — the * previous regex (`^'([^']*)'$`) failed on those inputs and returned the * raw, still-quoted source string. * * Inputs that don't tokenise as a single, properly-closed string node * spanning the full input (bare identifiers, unterminated quotes, * multi-token values) are returned unchanged, matching the legacy * behaviour the rest of the codebase relies on. Unterminated quotes * matter because postcss-value-parser still emits them as a string node * (with `unclosed: true`); the gate must reject them so callers like * font-snapper don't get a phantom-unwrapped name for malformed input. */ declare function unquote(str: string): string; export = unquote; //# sourceMappingURL=unquote.d.ts.map