import type { RolesSpecifierConfig } from '../config/permissions.js'; import type { ModelComponent, ValidationContext } from '../validation/validation-context.js'; import type { Field } from './field.js'; import type { Type } from './type.js'; export declare class RolesSpecifier implements ModelComponent { private readonly input; private readonly declaringFieldOrType; readonly read: ReadonlyArray; readonly readWrite: ReadonlyArray; constructor(input: RolesSpecifierConfig, declaringFieldOrType: Type | Field); validate(context: ValidationContext): void; }