import { TestableKeyValueCache, KeyValueCacheSetOptions } from 'apollo-server-caching';
import Memcached from 'memcached';
export declare class MemcachedCache implements TestableKeyValueCache {
    readonly client: any;
    readonly defaultSetOptions: KeyValueCacheSetOptions;
    constructor(serverLocation: Memcached.Location, options?: Memcached.options);
    set(key: string, value: string, options?: KeyValueCacheSetOptions): Promise<void>;
    get(key: string): Promise<string | undefined>;
    delete(key: string): Promise<boolean>;
    flush(): Promise<void>;
    close(): Promise<void>;
}
//# sourceMappingURL=index.d.ts.map