import type { BindingValue, DataSourceDiagnostic, UiNode, UiNodeRepeatSpec } from '@ankhorage/contracts'; import { type RuntimeBindingOperationResultWriter, type RuntimeBindingResolutionContext } from './runtimeBindings'; export interface RuntimeRepeatResolutionContext extends RuntimeBindingResolutionContext { readonly node: UiNode; readonly writeOperationResult?: RuntimeBindingOperationResultWriter; } export interface RuntimeRepeatItemsResult { readonly items: readonly BindingValue[]; readonly diagnostics: readonly DataSourceDiagnostic[]; } export interface RuntimeRepeatItemsSyncResult extends RuntimeRepeatItemsResult { readonly status: 'ready' | 'pending'; } export declare function resolveRuntimeRepeatItemsSync(repeat: UiNodeRepeatSpec, context: RuntimeRepeatResolutionContext): RuntimeRepeatItemsSyncResult; export declare function resolveRuntimeRepeatItemsAsync(repeat: UiNodeRepeatSpec, context: RuntimeRepeatResolutionContext): Promise; export declare function createRuntimeRepeatBindingContext(args: { readonly baseContext?: Record; readonly item: BindingValue; readonly itemAlias?: string; }): Record; export declare function resolveRuntimeRepeatItemKey(args: { readonly item: BindingValue; readonly itemAlias?: string; readonly index: number; readonly keyPath?: string; }): string | number; //# sourceMappingURL=runtimeRepeat.d.ts.map