/** * Loads the vendored SCIP protobuf schema and exposes the `scip.Index` type. * * The schema is vendored verbatim at `vendor/scip.proto` (pinned — see the * header comment in that file). We parse it at runtime with protobufjs (pure * JS, no native build) rather than committing a generated `pb.js`, which keeps * the vendored artifact human-readable and trivially re-fetchable. */ import protobuf from 'protobufjs'; /** Absolute path to the vendored proto, resolved relative to this module. */ export declare function scipProtoPath(): string; /** Parse the vendored proto and return the protobufjs Root. */ export declare function loadScipRoot(): protobuf.Root; /** The `scip.Index` message type, used to verify + serialize an index payload. */ export declare function scipIndexType(): protobuf.Type; /** * SCIP `SymbolRole` bitset values we use. Mirrors the enum in scip.proto. * Kept as a const object (not an import) because the proto enums are not * surfaced as TS values by protobufjs's runtime parse. */ export declare const SymbolRole: { readonly Definition: 1; readonly ReadAccess: 8; }; /** * SCIP `TextEncoding.UTF8`. The index declares source files are UTF-8 on disk. */ export declare const TextEncoding_UTF8 = 1; /** * SCIP `SymbolInformation.Kind.Function`. Every node we export is a * function/method, so we tag them uniformly. */ export declare const SymbolKind_Function = 17; //# sourceMappingURL=schema.d.ts.map