import { TextTarget } from '../types/address.js';
import { AdapterMutationFailure } from '../types/adapter-result.js';
import { DiscoveryOutput } from '../types/discovery.js';
export interface FieldAddress {
    kind: 'field';
    blockId: string;
    occurrenceIndex: number;
    nestingDepth: number;
}
export interface FieldListInput {
    type?: string;
    limit?: number;
    offset?: number;
}
export interface FieldGetInput {
    target: FieldAddress;
}
export interface FieldInsertInput {
    at: TextTarget;
    instruction: string;
    mode: 'raw';
}
export interface FieldRebuildInput {
    target: FieldAddress;
}
export interface FieldRemoveInput {
    target: FieldAddress;
    mode: 'raw';
}
export interface FieldInfo {
    address: FieldAddress;
    instruction: string;
    fieldType: string;
    resolvedText: string;
    nested: boolean;
    parentAddress?: FieldAddress;
}
export interface FieldDomain {
    address: FieldAddress;
    instruction: string;
    fieldType: string;
    resolvedText: string;
    nested: boolean;
}
export interface FieldMutationSuccess {
    success: true;
    field: FieldAddress;
}
export type FieldMutationResult = FieldMutationSuccess | AdapterMutationFailure;
export type FieldsListResult = DiscoveryOutput<FieldDomain>;
//# sourceMappingURL=fields.types.d.ts.map