import * as express from "express"; import { TokenUser, Base } from "@openiap/openflow-api"; import { Provider, KoaContextWithOIDC } from "oidc-provider"; import { Span } from "@opentelemetry/api"; export declare class OAuthProvider { private app; static instance: OAuthProvider; clients: any[]; oidc: Provider; static interactionsUrl(ctx: KoaContextWithOIDC, interaction: any): Promise; static logoutSource(ctx: any, form: any): Promise; static postLogoutSuccessSource(ctx: any): Promise; static store: Map; static generatekeys(): Promise; static LoadClients(parent: Span): Promise; static configure(app: express.Express, parent: Span): OAuthProvider; } export declare class Account { accountId: string; user: TokenUser; constructor(accountId: string, user: TokenUser); claims(): TokenUser; static findAccount(ctx: KoaContextWithOIDC, id: any, test: any): Promise; static AddAccount(tuser: TokenUser, client: any): Account; static GetTokenRequest(code: string, parent: Span): Promise; static AddTokenRequest(code: string, item: Base, parent: Span): Promise; static RemoveTokenRequest(code: string, parent: Span): Promise; }