UNPKG

@ansvar/singapore-law-mcp

Version:

Complete Singapore law database — 523 Acts, 28K+ provisions from Singapore Statutes Online (sso.agc.gov.sg) with full-text search, definitions, and citation support

16 lines 644 B
/** * Statute ID resolution for Singapore Law MCP. * * Resolves fuzzy document references (titles, abbreviations) to database document IDs. */ import type Database from '@ansvar/mcp-sqlite'; /** * Resolve a document identifier to a database document ID. * Supports: * - Direct ID match (e.g., "pdpa-2012") * - Act title match (e.g., "Personal Data Protection Act 2012") * - Short name / abbreviation match (e.g., "PDPA", "CMA") * - Title substring match (e.g., "Cybersecurity Act") */ export declare function resolveDocumentId(db: InstanceType<typeof Database>, input: string): string | null; //# sourceMappingURL=statute-id.d.ts.map