import { Organization } from '@tco.ai/models/dist/RBAC/Organization'; import { Token } from '@tco.ai/models/dist/RBAC/Token'; import { TokenCreate } from '@tco.ai/models/dist/RBAC/TokenCreate'; import { TokenRepository } from '@tco.ai/models/dist/RBAC/TokenRepository'; import { User } from '@tco.ai/models/dist/RBAC/User'; export declare class TokensService { private readonly tokenRepository; constructor(tokenRepository: TokenRepository); getByToken(token: string): Promise; create(principal: User, tokenCreate: TokenCreate): Promise; deleteByIdAndOrganization(id: string, organization: Organization): Promise; search(organization: Organization): Promise>; }