/** * Utilities for working with STRUCTS in generated Wrekenfiles. * - Filters out unused structs (no STRUCT(...) reference anywhere) */ /** * Extract all struct names from a type string, e.g.: * - "STRUCT(User)" -> ["User"] * - "[]STRUCT(model.User)" -> ["model.User"] * - "map[string]STRUCT(api.Request)" -> ["api.Request"] */ export declare function extractAllStructNames(typeString: string): string[]; /** * Filter STRUCTS map on a Wrekenfile object to only keep structs that are actually used. * Usage is any occurrence of STRUCT(Name) in: * - METHOD.INPUTS / RETURNS / ERRORS * - HTTP.BODY.TYPE * - ASYNC.RESULT.TYPE * plus transitive references inside other structs. */ export declare function filterStructsByUsage(wrekenfile: any): void; //# sourceMappingURL=struct-utils.d.ts.map