import * as ts from "typescript"; /** * Collects all brand identifier texts from an intersection type's computed * property names. * * Walks the type's properties looking for computed property names backed by * plain identifiers — the standard `unique symbol` brand pattern. Returns all * matching identifiers so types with multiple brands (e.g., * `number & { [__integerBrand]: true } & { [__otherBrand]: true }`) are fully * inspected regardless of property order. * * Used by `_isIntegerBrandedType` (analysis package) and by the build * consumer's extension-type resolver (`resolve-custom-type.ts`) for * brand-based custom-type lookup. * * @internal */ export declare function _collectBrandIdentifiers(type: ts.Type): readonly string[]; /** * Returns `true` when `type` is an integer-branded intersection — i.e., it * includes a `number` base and a computed property keyed by `__integerBrand`. * * Used by both the build consumer (`tsdoc-parser.ts`) and the snapshot consumer * (`file-snapshots.ts`) so imported branded types are recognized consistently * from the host checker. * * Call `stripNullishUnion` (re-exported from `@stripe/formspec-analysis/internal`) * before this function to handle nullable and optional fields * (e.g. `MultiBrandedInteger | null`). * * @internal */ export declare function _isIntegerBrandedType(type: ts.Type): boolean; //# sourceMappingURL=integer-brand.d.ts.map