import { Mutable } from '@milaboratories/helpers'; import { NavigationState, BlockOutputsBase, BlockState, PlatformaV2, ValueWithUTag, AuthorMarker, PlatformaExtended } from '@platforma-sdk/model'; import { StateModelOptions, UnwrapOutputs, OutputValues, OutputErrors, AppSettings } from '../types'; export declare const patchPoolingDelay = 150; export declare const createNextAuthorMarker: (marker: AuthorMarker | undefined) => AuthorMarker; /** * Creates an application instance with reactive state management, outputs, and methods for state updates and navigation. * * @template Args - The type of arguments used in the application. * @template Outputs - The type of block outputs extending `BlockOutputsBase`. * @template UiState - The type of the UI state. * @template Href - The type of navigation href, defaulting to a string starting with `/`. * * @param state - Initial state of the application, including args, outputs, UI state, and navigation state. * @param platforma - A platform interface for interacting with block states. * @param settings - Application settings, such as debug flags. * * @returns A reactive application object with methods, getters, and state. */ export declare function createAppV2(state: ValueWithUTag>, platforma: PlatformaExtended>, settings: AppSettings): { error: string; model: { args: import('vue').UnwrapRef; ui: import('vue').UnwrapRef; outputs: import('vue').UnwrapRef>; outputErrors: import('vue').UnwrapRef>; }; cloneArgs: () => Args; cloneUiState: () => UiState; cloneNavigationState: () => Mutable>; createArgsModel: (options?: StateModelOptions) => import('../types').Model; createUiModel: (options: StateModelOptions | undefined, defaultUiState: () => UiState) => import('../types').Model; unwrapOutputs: (...keys: K[]) => UnwrapOutputs; updateArgs: (cb: (args: Args) => void) => Promise; updateUiState: (cb: (args: UiState) => UiState) => Promise; navigateTo: (href: Href) => Promise; allSettled: () => Promise; closedRef: boolean; snapshot: { args: Args; outputs: Partial; ui: UiState; navigationState: NavigationState; }; queryParams: import('../types').ParseQuery; href: Href; hasErrors: boolean; }; export type BaseAppV2 = ReturnType>; //# sourceMappingURL=createAppV2.d.ts.map