import { FunctionTool, JSONValue } from "llamaindex"; import { FGAAuthorizerBase } from "@auth0/ai/FGA"; export type LlamaToolHandler = (input: T) => JSONValue | Promise; /** * The FGAAuthorizer class implements the FGA authorization control for a LlamaIndex 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, object | undefined ]> { /** * * Builds a tool authorizer that protects the tool execution with FGA. * * @returns A tool authorizer. */ authorizer(): , AdditionalToolArgument extends object = object>(t: FunctionTool) => FunctionTool, object>; } //# sourceMappingURL=FGAAuthorizer.d.ts.map