import "../index.js"; import { CMSEndpoint } from "../cms/createIntlayerCMS.js"; import { FetcherOptions } from "../fetcher.js"; import { IntlayerConfig } from "@intlayer/types/config"; import { GetConfigurationResult, GetEditorDictionariesResult, WriteContentDeclarationBody, WriteContentDeclarationResult } from "intlayer-editor"; export declare const getEditorAPI: (authAPIOptions?: FetcherOptions, intlayerConfig?: IntlayerConfig) => { getDictionaries: (otherOptions?: FetcherOptions) => Promise; getConfiguration: (otherOptions?: FetcherOptions) => Promise; writeDictionary: (body: WriteContentDeclarationBody, otherOptions?: FetcherOptions) => Promise; }; /** * Authenticated `editor` endpoint bound to an Intlayer CMS authenticator. * * Pass an authenticator created with `createIntlayerCMS`, or omit it to use * the build-time configuration (`@intlayer/config/built`). */ export declare const editorEndpoint: CMSEndpoint<{ getDictionaries: (otherOptions?: FetcherOptions) => Promise; getConfiguration: (otherOptions?: FetcherOptions) => Promise; writeDictionary: (body: WriteContentDeclarationBody, otherOptions?: FetcherOptions) => Promise; }>; export type { GetConfigurationResult, GetEditorDictionariesResult, WriteContentDeclarationBody, WriteContentDeclarationResult }; //# sourceMappingURL=editor.d.ts.map