export declare class CorzAuthorization {
    private appid;
    private accessToken;
    private expiresAt;
    private pemfile;
    private secret;
    private sessionName;
    constructor(appid: string, setting: Record<string, any>);
    /**
     * 获取授权令牌
     * @returns
     */
    getAccessToken(): Promise<string | null>;
    /**
     * 进行授权
     * @returns
     */
    private doAuthorize;
}
