import { ImportedCompiledCssFile } from "../importing"; /** * Given a Compiled CSS file, determine the block-syntax-version for the * definition file. * @param file - The Compiled CSS file to look up the version number from. * @returns The version number found in the definition file. */ export declare function determineBlockSyntaxVersion(file: ImportedCompiledCssFile): number; /** * Updates the definition data in a Compiled CSS file to use the current * block-syntax-version supported by this version of CSS Blocks. We attempt * to make these transformations automatically; however, there are three * scenarios we will have to throw an error on if they occur... * * 1. We can't find the block-syntax-version or parse it into a number. * 2. The version is greater than the block-syntax-version supported in * this version of CSS Blocks. (This implies that a later version of * CSS Blocks compiled this file and bumping CSS Blocks may resolve * the issue.) * 3. The version is less than the earliest block-syntax-version supported * in this version of CSS Blocks. (This means that a much earlier version * of CSS Blocks compiled the file using some syntax that can't be * automatically upgraded.) * * @param file - The Compiled CSS file to update. * @returns The ImportedCompiledCSSFile with the transformed definition file contents. */ export declare function upgradeDefinitionFileSyntax(file: ImportedCompiledCssFile): ImportedCompiledCssFile; //# sourceMappingURL=block-syntax-version.d.ts.map