import Session from '../Services/Identity/Session';
import { AllOAuth2EndpointsResponse, OAuthAppCreateParams, OauthApplication, OauthApplicationsResponse } from './OauthApplicaitions.consts';
export default class OauthApplicationApi {
    private entity;
    constructor(session: Session);
    getAll(): Promise<OauthApplicationsResponse>;
    create(newApp: OAuthAppCreateParams): Promise<OauthApplication>;
    destroy(id: number): Promise<void>;
    enable(id: number): Promise<OauthApplication>;
    disable(id: number): Promise<OauthApplication>;
    renew(id: number): Promise<OauthApplication>;
    getAllEndpointsHierarchy(): Promise<AllOAuth2EndpointsResponse>;
}
