index.d.ts 472 B

12345678910111213141516171819202122
  1. export * from './keyvalue';
  2. export * from './signer';
  3. export * from './utils.http';
  4. export * from './utils.lang';
  5. export * from './utils';
  6. interface IKV {
  7. [key: string]: any;
  8. }
  9. export declare function sign(options: {
  10. secretId: string;
  11. secretKey: string;
  12. method: string;
  13. url: string;
  14. headers: IKV;
  15. params: IKV;
  16. timestamp: number;
  17. withSignedParams?: boolean;
  18. }): {
  19. authorization: string;
  20. timestamp: number;
  21. multipart: any;
  22. };