import { Agent } from 'node:http';
import { APIClient, DefaultQuery, Fetch, FinalRequestOptions, Headers } from 'openai/core';

import * as API from './resources';
export interface HunYuanAIOptions {
    baseURL?: string;
    appId?: string;
    secretId?: string;
    secretKey?: string;
    timeout?: number | undefined;
    httpAgent?: Agent;
    fetch?: Fetch | undefined;
    /**
     * Default headers to include with every request to the API.
     *
     * These can be removed in individual requests by explicitly setting the
     * header to `undefined` or `null` in request options.
     */
    defaultHeaders?: Headers;
    /**
     * Default query parameters to include with every request to the API.
     *
     * These can be removed in individual requests by explicitly setting the
     * param to `undefined` in request options.
     */
    defaultQuery?: DefaultQuery;
}
export declare class HunYuanAI extends APIClient {
    appId: number;
    secretId: string;
    secretKey: string;
    private _options;
    constructor(options?: HunYuanAIOptions);
    chat: API.Chat;
    protected defaultHeaders(opts: FinalRequestOptions): Headers;
    protected defaultQuery(): DefaultQuery | undefined;
    generateAuthorization(path: string, data: Record<string, any>): string;
    protected hash(data: string): string;
}
export declare namespace HunYuanAI {
    type ChatModel = API.ChatModel;
    type ChatCompletionCreateParams = API.ChatCompletionCreateParams;
    type ChatCompletionCreateParamsStreaming = API.ChatCompletionCreateParamsStreaming;
    type ChatCompletionCreateParamsNonStreaming = API.ChatCompletionCreateParamsNonStreaming;
}
export default HunYuanAI;
