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_image from '@c8y/ngx-components/widgets/implementations/image';
import { ImageWidgetConfig } from '@c8y/ngx-components/widgets/implementations/image';
import * as _angular_core from '@angular/core';
import { DashboardMetadata } from '@c8y/ngx-components/context-dashboard';
import { WidgetImportExportInjectorOptions } from '@c8y/ngx-components';

interface ExportedImageWidgetConfig extends ImageWidgetConfig {
    imageDetails: {
        file: {
            name: string;
            type: string;
        };
        base64: string;
        c8y_SHA256: string;
    };
}
declare const imageWidgetDefinition: {
    id: "Image";
    label: "Image";
    description: "Display a single image selected from the user's file system.";
    loadComponent: () => Promise<_angular_core.Type<any> | typeof _c8y_ngx_components_widgets_implementations_image.ImageWidgetViewComponent>;
    loadConfigComponent: () => Promise<_angular_core.Type<any> | typeof _c8y_ngx_components_widgets_implementations_image.ImageWidgetConfigComponent>;
    previewImage: string;
    data: {
        schema: () => Promise<{
            default: typeof c8y_schema_loader_interfaceName__;
            schema: json_schema.JSONSchema7;
        }>;
        export: typeof exportImageWidgetConfig;
        import: typeof importImageWidgetConfig;
        settings: {
            noNewWidgets: false;
            widgetDefaults: {
                _width: number;
                _height: number;
            };
            ng1: {
                options: {
                    noDeviceTarget: true;
                    groupsSelectable: false;
                };
            };
        };
    };
};
declare const imageWidgetProviders: (_angular_core.ValueProvider | _angular_core.ClassProvider | _angular_core.ExistingProvider)[];
declare function exportImageWidgetConfig(config: ImageWidgetConfig, _dashboardData: DashboardMetadata, _options: WidgetImportExportInjectorOptions): Promise<ExportedImageWidgetConfig>;
declare function importImageWidgetConfig(config: ExportedImageWidgetConfig, dashboardData: DashboardMetadata, _options: WidgetImportExportInjectorOptions): Promise<ImageWidgetConfig>;

export { imageWidgetDefinition, imageWidgetProviders };
export type { ExportedImageWidgetConfig };
//# sourceMappingURL=index.d.ts.map
