import { GenkitBeta } from "genkit/beta"; import { FGAAuthorizerBase } from "@auth0/ai/FGA"; import { ToolFnOptions, ToolRunOptions } from "@genkit-ai/ai/tool"; import { ToolWrapper } from "../lib"; /** * The FGAAuthorizer class implements the FGA authorization control for a Genkit AI tool. * * This class extends the FGAAuthorizerBase and provides a method to build a tool authorizer * that protects the tool execution using FGA. * */ export declare class FGAAuthorizer extends FGAAuthorizerBase<[ any, ToolFnOptions & ToolRunOptions ]> { private readonly genkit; constructor(genkit: GenkitBeta, ...args: ConstructorParameters); /** * * Builds a tool authorizer that protects the tool execution with FGA. * * @returns A tool authorizer. */ authorizer(): ToolWrapper; } //# sourceMappingURL=FGAAuthorizer.d.ts.map