import * as _angular_core from '@angular/core';
import { SafeHtml } from '@angular/platform-browser';

type CodeLanguage = 'html' | 'typescript' | 'json' | 'css' | 'scss';
declare class SdCodeEditor {
    #private;
    valueModel: _angular_core.ModelSignal<any>;
    language: _angular_core.InputSignal<CodeLanguage>;
    maxHeight: _angular_core.InputSignal<string>;
    viewed: _angular_core.InputSignalWithTransform<boolean, unknown>;
    copied: _angular_core.WritableSignal<boolean>;
    textValue: _angular_core.WritableSignal<string>;
    prismLang: _angular_core.Signal<CodeLanguage | "markup">;
    private _lastEmittedValue;
    constructor();
    highlightedCode: _angular_core.Signal<SafeHtml>;
    onTextChange(newText: string): void;
    copyToClipboard(): void;
    static ɵfac: _angular_core.ɵɵFactoryDeclaration<SdCodeEditor, never>;
    static ɵcmp: _angular_core.ɵɵComponentDeclaration<SdCodeEditor, "sd-code-editor", never, { "valueModel": { "alias": "model"; "required": false; "isSignal": true; }; "language": { "alias": "language"; "required": false; "isSignal": true; }; "maxHeight": { "alias": "maxHeight"; "required": false; "isSignal": true; }; "viewed": { "alias": "viewed"; "required": false; "isSignal": true; }; }, { "valueModel": "modelChange"; }, never, never, true, never>;
}

export { SdCodeEditor };
export type { CodeLanguage };
