import * as json_schema from 'json-schema';
import * as c8y_schema_loader_interfaceName__ from 'c8y-schema-loader?interfaceName=*';
import * as _c8y_ngx_components_widgets_implementations_markdown from '@c8y/ngx-components/widgets/implementations/markdown';
import { MarkdownWidgetConfig } from '@c8y/ngx-components/widgets/implementations/markdown';
import * as _angular_core from '@angular/core';
import { WidgetImportExportInjectorOptions } from '@c8y/ngx-components';
import { DashboardMetadata } from '@c8y/ngx-components/context-dashboard';

interface ExportedMarkdownWidgetConfig extends MarkdownWidgetConfig {
    markdownDetails?: {
        file: {
            name: string;
            type: string;
        };
        text: string;
    };
}
declare const markdownWidgetDefinition: {
    id: "markdown";
    label: "Markdown widget";
    description: "Display content provided as Markdown. You can write Markdown text directly, upload a file, or provide a file path.";
    loadComponent: () => Promise<_angular_core.Type<any> | typeof _c8y_ngx_components_widgets_implementations_markdown.MarkdownWidgetViewComponent>;
    loadConfigComponent: () => Promise<_angular_core.Type<any> | typeof _c8y_ngx_components_widgets_implementations_markdown.MarkdownWidgetConfigComponent>;
    previewImage: string;
    data: {
        schema: () => Promise<{
            default: typeof c8y_schema_loader_interfaceName__;
            schema: json_schema.JSONSchema7;
        }>;
        export: typeof exportMarkdownWidgetConfig;
        import: typeof importMarkdownWidgetConfig;
        settings: {
            noNewWidgets: false;
            widgetDefaults: {
                _width: number;
                _height: number;
            };
            ng1: {
                options: {
                    noDeviceTarget: true;
                    groupsSelectable: false;
                };
            };
        };
    };
};
declare const markdownWidgetProviders: (_angular_core.ValueProvider | _angular_core.ClassProvider | _angular_core.ExistingProvider)[];
declare function exportMarkdownWidgetConfig(config: MarkdownWidgetConfig, _dashboardData: DashboardMetadata, _options: WidgetImportExportInjectorOptions): Promise<ExportedMarkdownWidgetConfig>;
declare function importMarkdownWidgetConfig(config: ExportedMarkdownWidgetConfig, _dashboardData: DashboardMetadata, _options: WidgetImportExportInjectorOptions): Promise<MarkdownWidgetConfig>;

export { markdownWidgetDefinition, markdownWidgetProviders };
export type { ExportedMarkdownWidgetConfig };
//# sourceMappingURL=index.d.ts.map
