captan
Version:
Captan — Command your ownership. A tiny, hackable CLI cap table tool.
23 lines • 784 B
TypeScript
import { EntityType, FileModel } from './model.js';
export interface FounderInput {
name: string;
email?: string;
shares: number;
}
export interface WizardResult {
name: string;
formationDate: string;
entityType: EntityType;
jurisdiction: string;
currency: string;
authorized: number;
parValue?: number;
poolSize?: number;
poolPct?: number;
founders: FounderInput[];
}
export declare function runInitWizard(): Promise<WizardResult>;
export declare function parseFounderString(founderStr: string): FounderInput;
export declare function calculatePoolFromPercentage(founderShares: number, poolPct: number): number;
export declare function buildModelFromWizard(result: WizardResult): FileModel;
//# sourceMappingURL=init-wizard.d.ts.map