import type { Resolver } from "@/lib/resolver.js";
import type { FailedAction } from "@/lib/action.svelte.js";
export interface Labels {
"array-schema-missing-items": {};
"multi-schema-option-label-with-title": { title: string; index: number };
"multi-schema-option-label": { index: number };
"remove-object-property": {};
"add-object-property": {};
"move-array-item-up": {};
"move-array-item-down": {};
"validation-process-error": { error: FailedAction<unknown> };
"component-not-found": { type: string };
"key-input-title": { name: string };
export type Label = keyof Labels;
export type Translator<L extends Label> =
| ((params: Labels[L]) => string);
export type TranslatorDefinitions = {
[K in Label]: Translator<K>;
export type Translation = Resolver<
Partial<TranslatorDefinitions>