import { Resource } from './resource';
import { SerializedData } from '../serialization/json';
export type ResourceScopeScopeField = 'annotation_edit' | 'annotation_view_all' | 'annotation_view_self' | 'base_explorer' | 'base_picker' | 'base_preview' | 'base_upload' | 'item_delete' | 'item_download' | 'item_preview' | 'item_rename' | 'item_share' | 'item_upload' | 'item_read' | string;
export interface ResourceScope {
    /**
     * The scopes for the resource access. */
    readonly scope?: ResourceScopeScopeField;
    readonly object?: Resource;
    readonly rawData?: SerializedData;
}
export declare function serializeResourceScopeScopeField(val: ResourceScopeScopeField): SerializedData;
export declare function deserializeResourceScopeScopeField(val: SerializedData): ResourceScopeScopeField;
export declare function serializeResourceScope(val: ResourceScope): SerializedData;
export declare function deserializeResourceScope(val: SerializedData): ResourceScope;
