import type { Environment } from '@scalar/oas-utils/entities/environment';
import { Decoration, type DecorationSet, EditorView, ViewPlugin, type ViewUpdate } from '@scalar/use-codemirror';
import { type EnvVariables } from '@/libs/env-helpers';
/**
 * Styles the active environment variable pill
 */
export declare const pillPlugin: (props: {
    environment: Environment | undefined;
    envVariables: EnvVariables | undefined;
    isReadOnly: boolean | undefined;
}) => ViewPlugin<{
    decorations: DecorationSet;
    update(update: ViewUpdate): void;
    buildDecorations(view: EditorView): import("@codemirror/state").RangeSet<Decoration>;
}>;
export declare const backspaceCommand: import("@codemirror/state").Extension;
//# sourceMappingURL=codeVariableWidget.d.ts.map