import type { CmsContext as CmsCtx, HeadlessCmsStorageOperations as StorageOps } from "../../types/types.js"; import type { AccessControl as AccessControlClass } from "../../crud/AccessControl/AccessControl.js"; /** * StorageOperations abstraction for legacy storage operations. * The legacy implementation will be registered using container.registerInstance. */ export declare const StorageOperations: import("@webiny/di").Abstraction>; export declare namespace StorageOperations { type Interface = StorageOps; } export interface IHeadlessCmsStorageOperationsFactory { create(context: T): Promise; } export declare const StorageOperationsFactory: import("@webiny/di").Abstraction>; export declare namespace StorageOperationsFactory { type Interface = IHeadlessCmsStorageOperationsFactory; type Result = StorageOps; } /** * AccessControl abstraction for legacy access control. * The legacy implementation will be registered using container.registerInstance. */ export declare const AccessControl: import("@webiny/di").Abstraction; export declare namespace AccessControl { type Interface = AccessControlClass; } /** * CmsContext abstraction for legacy CMS context. * The legacy implementation will be registered using container.registerInstance. */ export declare const CmsContext: import("@webiny/di").Abstraction; export declare namespace CmsContext { type Interface = CmsCtx; } export interface IAccessControl { canAccessModel(params: { model: any; }): Promise; canAccessGroup(params: { group: any; }): Promise; }