import type { PiiKind, PiiMatch, PiiOptions, PiiSegment } from './types.js'; export type { PiiEvidence, PiiKind, PiiMatch, PiiOptions, PiiSegment } from './types.js'; export { IBAN_LENGTHS, iso7064Mod1110, isValidGermanTaxId, isValidIban, isValidLuhn, } from './checksums.js'; /** Every kind this module knows, in the order findings are reported for ties. */ export declare const PII_KINDS: readonly PiiKind[]; /** * Find personal data in `text`. * * Findings never overlap and are returned in reading order, each with the span * it occupies, a confidence and the evidence behind it. */ export declare function detectPii(text: string, options?: PiiOptions): PiiMatch[]; /** True if anything at or above the threshold was found. Stops at the first hit. */ export declare function hasPii(text: string, options?: PiiOptions): boolean; /** * The same text, split into segments — the shape `filterFWordsToSegments` * returns, so the two can be rendered by the same code. * * Concatenating every `segment.text` reproduces the input exactly. */ export declare function piiToSegments(text: string, options?: PiiOptions): PiiSegment[]; //# sourceMappingURL=index.d.ts.map