INFO.d.ts 449 B

1234567891011121314151617
  1. export declare const FIRST_KEY_INDEX = 1;
  2. export declare const IS_READ_ONLY = true;
  3. export declare function transformArguments(key: string): Array<string>;
  4. export type InfoRawReply = [
  5. _: string,
  6. width: number,
  7. _: string,
  8. depth: number,
  9. _: string,
  10. count: number
  11. ];
  12. export interface InfoReply {
  13. width: number;
  14. depth: number;
  15. count: number;
  16. }
  17. export declare function transformReply(reply: InfoRawReply): InfoReply;