import { AuthCredential, CorpAuthCredential, IdentityClient } from '@zhengxs/dingtalk-auth'; import { ConnectionParamsOptions, OperationOption } from './types'; export interface HttpLinkOptions extends ConnectionParamsOptions { client?: IdentityClient; credential?: AuthCredential | CorpAuthCredential; } export declare class HttpLink { protected client: IdentityClient; protected credential: AuthCredential | CorpAuthCredential; protected ua: string; protected subscriptions: OperationOption[]; constructor(options: HttpLinkOptions); create(): Promise; } export declare function createHttpLink({ client, credential, ...rest }: Required): Promise;