import type { LayoutBuilderObject, LayoutDataSource } from '../../libs/fslayoutdata'; import React from 'react'; import type { AxiosInstance } from 'axios'; export interface FlagshipBuilderDataSourceConfig { appId: number | string; environmentId?: number | string; network: AxiosInstance; } export declare class FlagshipBuilderDataSource implements LayoutDataSource { protected readonly config: FlagshipBuilderDataSourceConfig; constructor(config: FlagshipBuilderDataSourceConfig); protected loadScreen(id: string): Promise; protected removeCircularRefs(rootId: string, data: LayoutBuilderObject | undefined, previousRootIds?: string[]): Promise; fetchLayoutData(id: string): Promise; fetchComponents(id: string): Promise; }