type ISignMethod = 'sha256' | 'sha1';
/**
 * 请求签名Header生成
 * @private
 * @param {object} signInfo 密钥信息
 * @example
 * ```ts
 * const headers = genRainbowHeaderSignature({
 *   appId: 'xxx',
 *   userId: 'yyy',
 *   secretKey: 'zzz',
 *   signMethod: 'sha1',
 * });
 * // {
 * //   rainbow_sgn_type: 'apisign',
 * //   rainbow_version: '2020',
 * //   rainbow_app_id: 'xxx',
 * //   rainbow_user_id: 'yyy',
 * //   rainbow_timestamp: '1700000000',
 * //   rainbow_nonce: '...',
 * //   rainbow_sgn_method: 'sha1',
 * //   rainbow_sgn_body: '',
 * //   rainbow_signature: '...',
 * // }
 * ```
 */
export declare function genRainbowHeaderSignature(signInfo: {
    appID?: string;
    appId?: string;
    userID?: string;
    userId?: string;
    secretKey: string;
    signMethod?: ISignMethod;
}): {
    rainbow_sgn_type?: undefined;
    rainbow_version?: undefined;
    rainbow_app_id?: undefined;
    rainbow_user_id?: undefined;
    rainbow_timestamp?: undefined;
    rainbow_nonce?: undefined;
    rainbow_sgn_method?: undefined;
    rainbow_sgn_body?: undefined;
    rainbow_signature?: undefined;
} | {
    rainbow_sgn_type: string;
    rainbow_version: string;
    rainbow_app_id: string | undefined;
    rainbow_user_id: string | undefined;
    rainbow_timestamp: string;
    rainbow_nonce: string;
    rainbow_sgn_method: ISignMethod;
    rainbow_sgn_body: string;
    rainbow_signature: any;
};
export {};
