export class Passport {
  userId: string;
  username: string;
  platforms: string[];
  verified: boolean;
  constructor(userId: string, username: string);
  verify(): Promise<boolean>;
  syncAcross(platforms: string[]): Promise<boolean>;
  toJSON(): object;
}

export class DataSync {
  static sync(data: any, platforms: string[]): Promise<boolean>;
  static pull(userId: string, platform: string): Promise<any>;
}

export class SafeInput {
  static detectPII(input: string): string[];
  static scrub(input: string): string;
  static validate(input: string, allowedTypes?: string[]): {
    valid: boolean;
    clean?: string;
    blocked?: string[];
    message?: string;
  };
}

export class Compliance {
  static isCOPPACompliant(age: number): boolean;
  static requiresParentConsent(age: number): boolean;
  static canCollectData(user: { age: number; parentConsentGiven?: boolean }): boolean;
  static logCheck(userId: string, checkType: string, result: boolean): void;
}
