import 'server-only'; import { type IOptiGraphClient, type OptimizelyGraphConfig } from '@remkoj/optimizely-graph-client'; /** * Create a new client instance. This is a direct wrapper for the `createClient` function * exported from `@remkoj/optimizely-graph-client`. * * @returns The newly created GraphQL Client */ export declare function createClient(): IOptiGraphClient; /** * Create a new client instance, with the needed configuration to access restricted content. This * wraps the `createClient` function from `@remkoj/optimizely-graph-client` and applies some * configuration defaults. * * @returns The newly created GraphQL Client */ export declare function createAuthorizedClient(token?: string, config?: OptimizelyGraphConfig): IOptiGraphClient; /** * Create a new client instance, with the needed configuration to access restricted content. This * wraps the `createClient` function from `@remkoj/optimizely-graph-client` and applies some * configuration defaults. * * @deprecated use createAuthorizedClient * @returns The newly created GraphQL Client */ export declare const getAuthorizedServerClient: typeof createAuthorizedClient; /** * Create a new client instance. This is a direct wrapper for the `createClient` function * exported from `@remkoj/optimizely-graph-client`. * * @deprecated use createClient * @returns The newly created GraphQL Client */ export declare const getServerClient: typeof createClient; export default createClient;