import type { AsyncLocalStorage } from 'node:async_hooks';
export interface AlipayContext {
    UNIONID: string;
    CLIENTIP: string;
    CLIENTIPV6: string;
    FROM_APPID: string;
    FROM_OPENID: string;
    FROM_UNIONID: string;
    OPEN_DATA_INFO: string;
    USER_AGENT: string;
    SOURCE_TYPE: string;
    APPID: string;
    OPENID: string;
    ENV: string;
    SOURCE: string;
    TRACEID: string;
    RPCID: string;
    REQUESTID: string;
    REQUEST_SOURCE: string;
    SOURCE_APP: string;
    CLOUDBASE: Record<string, string>;
    rpcCount: number;
    headers: Record<string, string>;
    eventType: 'http' | 'websocket';
}
export declare function getAlipayContextStorage(): AsyncLocalStorage<AlipayContext>;
export declare function getAlipayContext(): AlipayContext;
