import { ContentfulCollection, ContentTypeCollection, LocaleCollection } from "contentful"; export interface ContentfulEnvironment { getContentTypes(options: { limit: number; }): Promise>; getLocales(): Promise>; } export declare type EnvironmentGetter = () => Promise; export declare function loadEnvironment(): Promise<{ contentTypes: ContentTypeCollection; locales: LocaleCollection; }>;