import { LoaderContext } from "webpack"; import type { Result } from "postcss"; import type { LoaderOptions, SourceMap } from "./types"; declare const initSourceMaps: ( options: LoaderOptions, getLoaderContext: () => LoaderContext ) => { getOptions: (prevSourceMap?: string | SourceMap | undefined) => | { prev: string | SourceMap | undefined; inline: boolean; annotation: boolean; sourcesContent: boolean; } | undefined; onResult: (result: Result) => SourceMap | undefined; }; export = initSourceMaps;