export interface ApiResponse<T> {
    code: number;
    message: string;
    data: T;
    request_id: string;
}
export interface RequestOptions {
    pathname: string;
    method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
    body?: any;
    region?: string;
    params?: Record<string, any>;
    headers?: Record<string, string>;
    baseURL?: string;
}
/**
 * 封装火山引擎API请求
 * @param options 请求参数
 * @param accessKeyId 用户AK
 * @param secretKey 用户SK
 * @returns Promise<Response>
 */
export declare function request<T>(options: RequestOptions, accessKeyId?: string, secretKey?: string): Promise<ApiResponse<T>>;
