import { NodePath } from '@babel/traverse'; import { TaggedTemplateExpression, Comment } from '@babel/types'; /** * Determines if a given comment is a postcss-lit-disable comment * @param {Comment} node Node to test * @return {boolean} */ export declare function isDisableComment(node: Comment): boolean; /** * Determines if a node has a leading postcss-lit-disable comment * @param {NodePath} path NodePath to test * @return {boolean} */ export declare function hasDisableComment(path: NodePath): boolean; export type Position = 'block' | 'statement' | 'default' | 'selector' | 'property' | 'comment'; interface PlaceholderConfig { create(key: number): string; regex: RegExp; } export declare const defaultPlaceholder: PlaceholderConfig; export declare const placeholderMapping: Partial>; /** * Computes the placeholder for an expression * @param {number} i Expression index * @param {string=} prefix Source prefix so far * @param {string=} suffix Source suffix * @return {string} */ export declare function createPlaceholder(i: number, prefix?: string, suffix?: string): string; /** * Computes the re-indented string of a given string on a given line * @param {string} value Value to re-indent * @param {number} lineNumber Current line number of the value * @param {Map=} baseIndentations Indentation map * @return {string} */ export declare function computeCorrectedString(value: string, lineNumber: number, baseIndentations?: Map, originalLineCount?: number): string; export {};