import { Express, Request, Response } from "express";
import { LogLevelDesc, IAsyncProvider } from "@hyperledger/cactus-common";
import { IEndpointAuthzOptions, IExpressRequestHandler, IWebServiceEndpoint } from "@hyperledger/cactus-core-api";
import { PluginLedgerConnectorStub } from "../plugin-ledger-connector-stub";
export interface IRunTransactionEndpointOptions {
    logLevel?: LogLevelDesc;
    connector: PluginLedgerConnectorStub;
}
export declare class RunTransactionEndpoint implements IWebServiceEndpoint {
    readonly options: IRunTransactionEndpointOptions;
    static readonly CLASS_NAME = "RunTransactionEndpoint";
    static readonly OAUTH2_SCOPES: string[];
    private readonly log;
    get className(): string;
    constructor(options: IRunTransactionEndpointOptions);
    getOasPath(): {
        post: {
            operationId: string;
            "x-hyperledger-cacti": {
                http: {
                    path: string;
                    verbLowerCase: string;
                };
            };
        };
    };
    getPath(): string;
    getVerbLowerCase(): string;
    getOperationId(): string;
    getAuthorizationOptionsProvider(): IAsyncProvider<IEndpointAuthzOptions>;
    registerExpress(expressApp: Express): Promise<IWebServiceEndpoint>;
    getExpressRequestHandler(): IExpressRequestHandler;
    handleRequest(req: Request, res: Response): Promise<void>;
}
