import { ApiError, PartialData } from '../../editor/api'; import { BaseProjectTypeState } from '../state'; import { EditorState } from '../../editor/state'; export declare class AmagakiState extends BaseProjectTypeState { partials?: Record | null; constructor(editorState: EditorState); get api(): import("../../editor/api").LiveEditorApiComponent; getPartials(callback?: (devices: Record) => void, callbackError?: (error: ApiError) => void): Record | undefined | null; /** * Lazy load of partials data. * * Understands the null state when there is an error requesting. */ partialsOrGetPartials(): Record | undefined | null; } /** * Promise keys used for tracking in operation promises for the state. */ export declare enum AmagakiStatePromiseKeys { GetPartials = "GetPartials" }