import { ClientOptions, Client } from 'urql';
export * from 'urql';
import { Exchange } from '@urql/core';

declare const cacheExchange: Exchange;

type Optional<T, K extends keyof T> = Pick<Partial<T>, K> & Omit<T, K>;
declare const createClient: (opts: Optional<ClientOptions, 'exchanges'>) => Client;

export { cacheExchange, createClient };
