/**
 * Implements methods for working with ticket scopes, with the ability to search
 * for common scopes both within the project and within the tags
 */
import * as E from "fp-ts/Either";
import * as Rr from "fp-ts/Reader";
import { GenericTicket, Configuration, Scope } from "../types";
/**
 *Try to detect the {@link Scope} of the ticket by projectId
 */
export declare const getProjectScope: (ticket: GenericTicket) => Rr.Reader<Configuration, E.Either<Error, Scope>>;
/**
 * Try to detect the {@link Scope} of the ticket by projectId
 */
export declare const getTicketScope: (ticket: GenericTicket) => Rr.Reader<Configuration, E.Either<Error, Scope>>;
/**
 * Try to detect a common {@link Scope} for all @param tickets
 */
export declare const getTicketsScope: (tickets: ReadonlyArray<GenericTicket>) => Rr.Reader<Configuration, E.Either<Error, Scope>>;
