import { PluginOptions } from './babel/utils/loadOptions'; import { Optional } from './typeUtils'; export declare type Replacement = { original: { start: Location; end: Location; }; length: number; }; declare type Location = { line: number; column: number; }; declare type Rules = { [className: string]: { cssText: string; displayName: string; start: Location | null; isGlobal: boolean; }; }; declare type Result = { code: string; sourceMap: Object | null | undefined; cssText?: string; cssSourceMapText?: string; dependencies?: string[]; rules?: Rules; replacements?: Replacement[]; }; declare type Options = { filename: string; preprocessor?: Preprocessor; outputFilename?: string; inputSourceMap?: Object; pluginOptions?: Optional; }; export declare type PreprocessorFn = (selector: string, cssText: string, outputLine?: number, originalLocation?: Location) => string; export declare type Preprocessor = 'none' | 'stylis' | PreprocessorFn | void; export default function transform(code: string, options: Options): Result; export {};