evidence-anchor/src/index.ts

17 lines
519 B
TypeScript
Raw Normal View History

// Public entrypoint for `evidence-anchor`.
//
// The stable surface consumers depend on:
// - adapter-side types + the viewer contract (./types)
// - selector creation / resolution (./selectors)
//
// The concrete PDF adapter lives behind the `evidence-anchor/pdf` subpath
// (./pdf) so pure consumers do not pull PDF.js or React into their bundle.
export * from "./types";
export {
createSelectors,
resolveSelectors,
DEFAULT_CONTEXT_CHARS,
type CreateSelectorsOptions,
} from "./selectors";