windows-signing-state.d.mts 556 B

1234567891011121314
  1. /**
  2. * Acquire durable evidence and the shared signing interlock before any hardware operation.
  3. * @param options Supervised run, target artifact, and test-only isolated state directory.
  4. * @returns Process evidence and completion callbacks; only success releases the interlock.
  5. */
  6. export function beginWindowsSigningAttempt(options: {
  7. runDirectory?: string | undefined
  8. stateDirectory?: string | undefined
  9. target: string
  10. }): {
  11. started(pid: number | null): void
  12. success(): void
  13. failure(code: number | string | null, diagnostic: string): void
  14. }