/** * Structural browser contracts for field-policy suggestion review. * * These types intentionally omit tenant, user, authorization, and field * sensitivity data. Hosts bind methods to authenticated generated clients; * the server derives identity and validates every action. */ export type FieldPolicySuggestionKind = 'promote' | 'default'; export interface FieldPolicySuggestion { id: string; objectRef: string; fieldName: string; kind: FieldPolicySuggestionKind; proposedValue: string | null; evidence: Readonly>; } export interface FieldPolicySuggestionAdapter { pendingSuggestions(input?: { objectRefs?: readonly string[]; }): Promise; acceptSuggestion(input: { id: string; }): Promise; dismissSuggestion(input: { id: string; }): Promise; } /** * Validate generated custom-action output at the browser boundary. A malformed * response is an error, never an empty queue that could conceal work. */ export declare function parsePendingFieldPolicySuggestions(value: unknown): { suggestions: FieldPolicySuggestion[]; total: number; }; /** Human-readable evidence without assuming a server-side evidence schema. */ export declare function fieldPolicySuggestionEvidence(suggestion: FieldPolicySuggestion): string; //# sourceMappingURL=suggestions.d.ts.map