/// <reference types="angular" />
/// <reference types="angular-route" />
import { WebSocketClientService } from "./WebSocketClientService";
export declare class api {
    $rootScope: ng.IRootScopeService;
    $location: any;
    WebSocketClientService: WebSocketClientService;
    static $inject: string[];
    constructor($rootScope: ng.IRootScopeService, $location: any, WebSocketClientService: WebSocketClientService);
}
export declare class timesince implements ng.IDirective {
    $location: ng.ILocationService;
    $timeout: ng.ITimeoutService;
    require: string;
    replace: boolean;
    constructor($location: ng.ILocationService, $timeout: ng.ITimeoutService);
    link: ng.IDirectiveLinkFn;
    static factory(): ng.IDirectiveFactory;
}
export declare class timetoo implements ng.IDirective {
    $location: ng.ILocationService;
    $timeout: ng.ITimeoutService;
    require: string;
    replace: boolean;
    constructor($location: ng.ILocationService, $timeout: ng.ITimeoutService);
    link: ng.IDirectiveLinkFn;
    static factory(): ng.IDirectiveFactory;
}
export declare class formatBytes implements ng.IDirective {
    $location: ng.ILocationService;
    $timeout: ng.ITimeoutService;
    require: string;
    replace: boolean;
    constructor($location: ng.ILocationService, $timeout: ng.ITimeoutService);
    formatBytes(bytes: any, decimals?: number): string;
    link: ng.IDirectiveLinkFn;
    static factory(): ng.IDirectiveFactory;
}
export declare class whenScrolled implements ng.IDirective {
    $rootScope: ng.IRootScopeService;
    $window: ng.IWindowService;
    $timeout: ng.ITimeoutService;
    constructor($rootScope: ng.IRootScopeService, $window: ng.IWindowService, $timeout: ng.ITimeoutService);
    link: ng.IDirectiveLinkFn;
    static factory(): ng.IDirectiveFactory;
}
export declare class textarea implements ng.IDirective {
    $location: ng.ILocationService;
    $timeout: ng.ITimeoutService;
    replace: boolean;
    constructor($location: ng.ILocationService, $timeout: ng.ITimeoutService);
    link: ng.IDirectiveLinkFn;
    static factory(): ng.IDirectiveFactory;
}
export declare class ngtype implements ng.IDirective {
    $location: ng.ILocationService;
    $timeout: ng.ITimeoutService;
    restrict: string;
    require: string;
    constructor($location: ng.ILocationService, $timeout: ng.ITimeoutService);
    link: ng.IDirectiveLinkFn;
    static factory(): ng.IDirectiveFactory;
}
export declare class translate implements ng.IDirective {
    $location: ng.ILocationService;
    $timeout: ng.ITimeoutService;
    locale: any;
    require: string;
    replace: boolean;
    constructor($location: ng.ILocationService, $timeout: ng.ITimeoutService, locale: any);
    link: ng.IDirectiveLinkFn;
    static factory(): ng.IDirectiveFactory;
}
export declare class userdata {
    data: any;
    constructor();
}
export declare class copytext implements ng.IDirective {
    $location: ng.ILocationService;
    $timeout: ng.ITimeoutService;
    locale: any;
    restrict: string;
    require: string;
    constructor($location: ng.ILocationService, $timeout: ng.ITimeoutService, locale: any);
    link: ng.IDirectiveLinkFn;
    static factory(): ng.IDirectiveFactory;
}
export declare class jsonText implements ng.IDirective {
    $location: ng.ILocationService;
    $timeout: ng.ITimeoutService;
    locale: any;
    restrict: string;
    require: string;
    constructor($location: ng.ILocationService, $timeout: ng.ITimeoutService, locale: any);
    link: ng.IDirectiveLinkFn;
    static factory(): ng.IDirectiveFactory;
}
export declare class fileread implements ng.IDirective {
    $location: ng.ILocationService;
    $timeout: ng.ITimeoutService;
    locale: any;
    restrict: string;
    require: string;
    constructor($location: ng.ILocationService, $timeout: ng.ITimeoutService, locale: any);
    link: ng.IDirectiveLinkFn;
    static factory(): ng.IDirectiveFactory;
}
export declare class entitiesCtrl<T> {
    $rootScope: ng.IRootScopeService;
    $scope: ng.IScope;
    $location: ng.ILocationService;
    $routeParams: ng.route.IRouteParamsService;
    $interval: ng.IIntervalService;
    WebSocketClientService: WebSocketClientService;
    api: api;
    userdata: userdata;
    loading: boolean;
    basequery: any;
    baseprojection: any;
    collection: string;
    models: T[];
    orderby: any;
    autorefresh: boolean;
    autorefreshinterval: number;
    pagesize: number;
    autorefreshpromise: any;
    preloadData: any;
    postloadData: any;
    searchstring: string;
    lastsearchstring: string;
    searchfields: string[];
    basequeryas: string;
    errormessage: string;
    skipcustomerfilter: boolean;
    page: number;
    _onKeyDown: any;
    _onKeyUp: any;
    static $inject: string[];
    constructor($rootScope: ng.IRootScopeService, $scope: ng.IScope, $location: ng.ILocationService, $routeParams: ng.route.IRouteParamsService, $interval: ng.IIntervalService, WebSocketClientService: WebSocketClientService, api: api, userdata: userdata);
    controldown: boolean;
    shiftdown: boolean;
    onKeyDown(e: any): void;
    onKeyUp(e: any): void;
    static parseJson(txt: any, reviver: any, context: any): any;
    loadData(): Promise<void>;
    more(): void;
    ToggleOrder(field: string): void;
    DeleteOne(model: any): Promise<any>;
    Search(): Promise<void>;
}
export declare function nestedassign(target: any, source: any): any;
export declare class entityCtrl<T> {
    $rootScope: ng.IRootScopeService;
    $scope: ng.IScope;
    $location: ng.ILocationService;
    $routeParams: ng.route.IRouteParamsService;
    $interval: ng.IIntervalService;
    WebSocketClientService: WebSocketClientService;
    api: api;
    userdata: userdata;
    loading: boolean;
    basequery: any;
    baseprojection: any;
    collection: string;
    model: T;
    id: string;
    keys: string[];
    autorefresh: boolean;
    autorefreshinterval: number;
    autorefreshpromise: any;
    preloadData: any;
    postloadData: any;
    errormessage: string;
    static $inject: string[];
    constructor($rootScope: ng.IRootScopeService, $scope: ng.IScope, $location: ng.ILocationService, $routeParams: ng.route.IRouteParamsService, $interval: ng.IIntervalService, WebSocketClientService: WebSocketClientService, api: api, userdata: userdata);
    loadData(): Promise<void>;
}
