import { ApiError, PartialData } from '../../editor/api'; import { BaseProjectTypeState } from '../state'; import { EditorState } from '../../editor/state'; export declare class GrowState extends BaseProjectTypeState { partials?: Record | null; strings?: Record | null; constructor(editorState: EditorState); get api(): import("../../editor/api").LiveEditorApiComponent; getPartials(callback?: (partials: Record) => void, callbackError?: (error: ApiError) => void): Record | undefined | null; getStrings(callback?: (strings: 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; /** * Lazy load of strings data. * * Understands the null state when there is an error requesting. */ stringsOrGetStrings(): Record | undefined | null; } /** * Promise keys used for tracking in operation promises for the state. */ export declare enum GrowStatePromiseKeys { GetPartials = "GetPartials", GetStrings = "GetStrings" }