import { Application, ContentDetail, FoxpageHooks, RelationInfo } from '@foxpage/foxpage-types';
/**
 * get relations
 * contains all relations
 * @param page
 * @param app
 * @returns
 */
export declare const getRelations: (content: ContentDetail, app: Application) => Promise<RelationInfo>;
/**
 * get relations batch
 * @param contents
 * @param app
 */
export declare const getRelationsBatch: (contents: ContentDetail<import("@foxpage/foxpage-types").StructureNode<Record<string, any>> | import("@foxpage/foxpage-types").VariableItem<any> | import("@foxpage/foxpage-types").ConditionItem | import("@foxpage/foxpage-types").FPFunctionItem | import("@foxpage/foxpage-types").MockItem>[] | undefined, app: Application) => Promise<RelationInfo>;
/**
 * init foxpage node source manager
 */
export declare function initSourceManager(): Promise<void>;
/**
 * get init hooks
 * @returns
 */
export declare const getHooks: () => FoxpageHooks | undefined;
