import { NeoFsV2Refs } from '../refs/types_pb'; export declare namespace NeoFsV2Acl { enum Role { Role_ROLE_UNSPECIFIED = 0, Role_USER = 1, Role_SYSTEM = 2, Role_OTHERS = 3 } enum MatchType { MatchType_MATCH_TYPE_UNSPECIFIED = 0, MatchType_STRING_EQUAL = 1, MatchType_STRING_NOT_EQUAL = 2, MatchType_NOT_PRESENT = 3, MatchType_NUM_GT = 4, MatchType_NUM_GE = 5, MatchType_NUM_LT = 6, MatchType_NUM_LE = 7 } enum Operation { Operation_OPERATION_UNSPECIFIED = 0, Operation_GET = 1, Operation_HEAD = 2, Operation_PUT = 3, Operation_DELETE = 4, Operation_SEARCH = 5, Operation_GETRANGE = 6, Operation_GETRANGEHASH = 7 } enum Action { Action_ACTION_UNSPECIFIED = 0, Action_ALLOW = 1, Action_DENY = 2 } enum HeaderType { HeaderType_HEADER_UNSPECIFIED = 0, HeaderType_REQUEST = 1, HeaderType_OBJECT = 2, HeaderType_SERVICE = 3 } interface EACLRecord { Operation: Operation; Action: Action; Filters: EACLRecord_Filter[]; Targets: EACLRecord_Target[]; } class EACLRecordImpl implements EACLRecord { Operation: Operation; Action: Action; Filters: EACLRecord_Filter[]; Targets: EACLRecord_Target[]; constructor(data?: Partial); serializeBinary(): Uint8Array; static deserializeBinary(data: Uint8Array): EACLRecordImpl; toObject(): EACLRecordData; } class EACLRecord extends EACLRecordImpl { } type EACLRecordData = Omit; interface EACLRecord_Filter { HeaderType: HeaderType; MatchType: MatchType; Key: string; Value: string; } class EACLRecord_FilterImpl implements EACLRecord_Filter { HeaderType: HeaderType; MatchType: MatchType; Key: string; Value: string; constructor(data?: Partial); serializeBinary(): Uint8Array; static deserializeBinary(data: Uint8Array): EACLRecord_FilterImpl; toObject(): EACLRecord_FilterData; } class EACLRecord_Filter extends EACLRecord_FilterImpl { } type EACLRecord_FilterData = Omit; interface EACLRecord_Target { Role: Role; Keys: Uint8Array[]; } class EACLRecord_TargetImpl implements EACLRecord_Target { Role: Role; Keys: Uint8Array[]; constructor(data?: Partial); serializeBinary(): Uint8Array; static deserializeBinary(data: Uint8Array): EACLRecord_TargetImpl; toObject(): EACLRecord_TargetData; } class EACLRecord_Target extends EACLRecord_TargetImpl { } type EACLRecord_TargetData = Omit; interface EACLTable { Version?: NeoFsV2Refs.Version; ContainerId?: NeoFsV2Refs.ContainerID; Records: EACLRecord[]; } class EACLTableImpl implements EACLTable { Version?: NeoFsV2Refs.Version; ContainerId?: NeoFsV2Refs.ContainerID; Records: EACLRecord[]; constructor(data?: Partial); serializeBinary(): Uint8Array; static deserializeBinary(data: Uint8Array): EACLTableImpl; toObject(): EACLTableData; } class EACLTable extends EACLTableImpl { } type EACLTableData = Omit; interface BearerToken { Body?: BearerToken_Body; Signature?: NeoFsV2Refs.Signature; } class BearerTokenImpl implements BearerToken { Body?: BearerToken_Body; Signature?: NeoFsV2Refs.Signature; constructor(data?: Partial); serializeBinary(): Uint8Array; static deserializeBinary(data: Uint8Array): BearerTokenImpl; toObject(): BearerTokenData; } class BearerToken extends BearerTokenImpl { } type BearerTokenData = Omit; interface BearerToken_Body { EaclTable?: EACLTable; OwnerId?: NeoFsV2Refs.OwnerID; Lifetime?: BearerToken_Body_TokenLifetime; Issuer?: NeoFsV2Refs.OwnerID; } class BearerToken_BodyImpl implements BearerToken_Body { EaclTable?: EACLTable; OwnerId?: NeoFsV2Refs.OwnerID; Lifetime?: BearerToken_Body_TokenLifetime; Issuer?: NeoFsV2Refs.OwnerID; constructor(data?: Partial); serializeBinary(): Uint8Array; static deserializeBinary(data: Uint8Array): BearerToken_BodyImpl; toObject(): BearerToken_BodyData; } class BearerToken_Body extends BearerToken_BodyImpl { } type BearerToken_BodyData = Omit; interface BearerToken_Body_TokenLifetime { Exp: bigint; Nbf: bigint; Iat: bigint; } class BearerToken_Body_TokenLifetimeImpl implements BearerToken_Body_TokenLifetime { Exp: bigint; Nbf: bigint; Iat: bigint; constructor(data?: Partial); serializeBinary(): Uint8Array; static deserializeBinary(data: Uint8Array): BearerToken_Body_TokenLifetimeImpl; toObject(): BearerToken_Body_TokenLifetimeData; } class BearerToken_Body_TokenLifetime extends BearerToken_Body_TokenLifetimeImpl { } type BearerToken_Body_TokenLifetimeData = Omit; }