import { StateWrapper, StateWrapperOptions } from '../../../srv/state/state-wrapper'; export declare class ScopeHelper { private readonly scope; private readonly controllers; private _readonly; constructor(scope: any, controllers?: { ngModel: any; errors: any; }); readonly(readonly: any): this; withEvents(events?: {}): this; withEditableEvents(events?: {}): this; withPermissionEvents(events: T, permissions: (eventName: keyof T) => boolean): this; withActions(actions?: {}): this; withEditableActions(actions?: {}): this; withVM(vm: any, params?: {}): this; withErrors(messages: any[]): this; withOptions(options: any, defaults: any, watch?: any): this; withState(state: StateWrapper | string, clientName: any, options: StateWrapperOptions): this; thenIfNotReadonly(fn: any): this; } export declare function init(scope: any, { ngModel, errors }?: { ngModel?: any; errors?: any; }): ScopeHelper;