import { MswarmConfigStore } from '@mcoda/core'; import { acceptMswarmConsent } from '../commands/consent/MswarmConsentFlow.js'; export type ConsentBootstrapMode = 'setup' | 'postinstall' | 'install_local'; export type DeferredBehavior = 'log' | 'error'; export interface ConsentBootstrapPrompter { close(): void; question(prompt: string): Promise; } export interface ConsentBootstrapOptions { mode?: ConsentBootstrapMode; onDeferred?: DeferredBehavior; policyVersion?: string; interactive?: boolean; logger?: (line: string) => void; prompter?: ConsentBootstrapPrompter; store?: MswarmConfigStore; termsText?: string; acceptConsent?: typeof acceptMswarmConsent; } export interface ConsentBootstrapResult { status: 'already_configured' | 'accepted' | 'deferred'; consentAccepted: boolean; consentTokenSet: boolean; clientId?: string; clientType?: string; policyVersion?: string; message: string; } export declare function runMswarmConsentBootstrap(options?: ConsentBootstrapOptions): Promise; //# sourceMappingURL=MswarmConsentBootstrap.d.ts.map