declare interface Global {
  memcachejsi: {
    getString: (key: string) => string | undefined;
    getInt: (key: string) => number | undefined;
    getDouble: (key: string) => number | undefined;
    getBoolean: (key: string) => boolean | undefined;
    putString: (key: string, value: string) => boolean;
    putInt: (key: string, value: number) => boolean;
    putDouble: (key: string, value: number) => boolean;
    putBoolean: (key: string, value: boolean) => boolean;
    putStrings: (pairs: Array<{key: string, value: string}>) => boolean;
    putInts: (pairs: Array<{key: string, value: number}>) => boolean;
    putDoubles: (pairs: Array<{key: string, value: number}>) => boolean;
    putBooleans: (pairs: Array<{key: string, value: boolean}>) => boolean;
    getJson: (key: string) => string | undefined;
    putJson: (key: string, value: string) => boolean;
    modifyJson: (key: string, path: string, value: string) => boolean;
    patchJson: (key: string, value: string) => boolean;
    deleteValue: (key: string) => boolean;
    deleteJson: (key: string) => boolean;
  }
  
}
declare const global: Global;

const memcachejsi = global.memcachejsi

export default memcachejsi;