123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- import { SourceMapConsumer } from 'source-map-js'
- import { ProcessOptions } from './postcss.js'
- declare namespace PreviousMap {
-
- export { PreviousMap_ as default }
- }
- declare class PreviousMap_ {
-
- annotation?: string
-
- file?: string
-
- inline: boolean
-
- mapFile?: string
-
- root?: string
-
- text?: string
-
- constructor(css: string, opts?: ProcessOptions)
- /**
- * Create a instance of `SourceMapGenerator` class
- * from the `source-map` library to work with source map information.
- *
- * It is lazy method, so it will create object only on first call
- * and then it will use cache.
- *
- * @return Object with source map information.
- */
- consumer(): SourceMapConsumer
- /**
- * Does source map contains `sourcesContent` with input source text.
- *
- * @return Is `sourcesContent` present.
- */
- withContent(): boolean
- }
- declare class PreviousMap extends PreviousMap_ {}
- export = PreviousMap
|