1 | import LazyResult from './lazy-result.js'
|
2 | import { SourceMap } from './postcss.js'
|
3 | import Processor from './processor.js'
|
4 | import Result, { Message, ResultOptions } from './result.js'
|
5 | import Root from './root.js'
|
6 | import Warning from './warning.js'
|
7 |
|
8 | declare namespace NoWorkResult {
|
9 |
|
10 | export { NoWorkResult_ as default }
|
11 | }
|
12 |
|
13 |
|
14 |
|
15 |
|
16 |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 | declare class NoWorkResult_ implements LazyResult<Root> {
|
26 | catch: Promise<Result<Root>>['catch']
|
27 | finally: Promise<Result<Root>>['finally']
|
28 | then: Promise<Result<Root>>['then']
|
29 | constructor(processor: Processor, css: string, opts: ResultOptions)
|
30 | async(): Promise<Result<Root>>
|
31 | sync(): Result<Root>
|
32 | toString(): string
|
33 | warnings(): Warning[]
|
34 | get content(): string
|
35 | get css(): string
|
36 | get map(): SourceMap
|
37 | get messages(): Message[]
|
38 | get opts(): ResultOptions
|
39 | get processor(): Processor
|
40 | get root(): Root
|
41 | get [Symbol.toStringTag](): string
|
42 | }
|
43 |
|
44 | declare class NoWorkResult extends NoWorkResult_ {}
|
45 |
|
46 | export = NoWorkResult
|