@thecorporation/corp-tools 26.3.20 → 26.3.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -14,6 +14,7 @@ interface CorpConfig {
14
14
  email: string;
15
15
  };
16
16
  active_entity_id: string;
17
+ data_dir: string;
17
18
  active_entity_ids?: Record<string, string>;
18
19
  last_references?: Record<string, string>;
19
20
  [key: string]: unknown;
@@ -338,6 +339,34 @@ type components = {
338
339
  * @enum {string}
339
340
  */
340
341
  BankAccountType: "checking" | "savings";
342
+ BillingCheckoutRequest: {
343
+ entity_id?: null | components["schemas"]["EntityId"];
344
+ plan_id: string;
345
+ };
346
+ BillingCheckoutResponse: {
347
+ checkout_url: string;
348
+ plan: string;
349
+ status: string;
350
+ };
351
+ BillingPlanResponse: {
352
+ interval: string;
353
+ name: string;
354
+ plan_id: string;
355
+ /** Format: int64 */
356
+ price_cents: number;
357
+ };
358
+ BillingPlansResponse: {
359
+ plans: components["schemas"]["BillingPlanResponse"][];
360
+ };
361
+ BillingPortalResponse: {
362
+ portal_url: string;
363
+ };
364
+ BillingStatusResponse: {
365
+ current_period_end?: string | null;
366
+ plan: string;
367
+ status: string;
368
+ workspace_id: components["schemas"]["WorkspaceId"];
369
+ };
341
370
  BindApprovalArtifactRequest: {
342
371
  approval_artifact_id: components["schemas"]["ApprovalArtifactId"];
343
372
  entity_id: components["schemas"]["EntityId"];
@@ -478,7 +507,8 @@ type components = {
478
507
  entity_id: components["schemas"]["EntityId"];
479
508
  };
480
509
  ClaimWorkItemRequest: {
481
- claimed_by: string;
510
+ claimed_by?: string | null;
511
+ claimed_by_actor?: null | components["schemas"]["WorkItemActorRefRequest"];
482
512
  /** Format: int64 */
483
513
  ttl_seconds?: number | null;
484
514
  };
@@ -501,8 +531,14 @@ type components = {
501
531
  ClassificationResult: "independent" | "employee" | "uncertain";
502
532
  ClassifyContractorRequest: {
503
533
  contractor_name: string;
534
+ /** Format: int32 */
535
+ duration_months?: number | null;
504
536
  entity_id: components["schemas"]["EntityId"];
537
+ exclusive_client?: boolean | null;
505
538
  factors?: Record<string, never>;
539
+ /** Format: int32 */
540
+ hours_per_week?: number | null;
541
+ provides_tools?: boolean | null;
506
542
  state?: string;
507
543
  };
508
544
  CompanyAddress: {
@@ -518,7 +554,8 @@ type components = {
518
554
  required_signers?: string[];
519
555
  };
520
556
  CompleteWorkItemRequest: {
521
- completed_by: string;
557
+ completed_by?: string | null;
558
+ completed_by_actor?: null | components["schemas"]["WorkItemActorRefRequest"];
522
559
  result?: string | null;
523
560
  };
524
561
  /** Format: uuid */
@@ -740,6 +777,7 @@ type components = {
740
777
  branch: string;
741
778
  };
742
779
  CreateContactRequest: {
780
+ cap_table_access?: null | components["schemas"]["CapTableAccess"];
743
781
  category: components["schemas"]["ContactCategory"];
744
782
  contact_type: components["schemas"]["ContactType"];
745
783
  email?: string | null;
@@ -747,6 +785,7 @@ type components = {
747
785
  mailing_address?: string | null;
748
786
  name: string;
749
787
  notes?: string | null;
788
+ phone?: string | null;
750
789
  };
751
790
  CreateControlLinkRequest: {
752
791
  child_legal_entity_id: components["schemas"]["LegalEntityId"];
@@ -967,6 +1006,24 @@ type components = {
967
1006
  /** Format: int64 */
968
1007
  target_raise_cents?: number | null;
969
1008
  };
1009
+ CreateSafeNoteRequest: {
1010
+ conversion_unit_type?: string | null;
1011
+ /** Format: double */
1012
+ discount_rate?: number | null;
1013
+ document_id?: null | components["schemas"]["DocumentId"];
1014
+ email?: string | null;
1015
+ entity_id: components["schemas"]["EntityId"];
1016
+ investor_contact_id?: null | components["schemas"]["ContactId"];
1017
+ investor_name: string;
1018
+ meeting_id?: null | components["schemas"]["MeetingId"];
1019
+ /** Format: int64 */
1020
+ principal_amount_cents: number;
1021
+ pro_rata_rights?: boolean;
1022
+ resolution_id?: null | components["schemas"]["ResolutionId"];
1023
+ safe_type?: null | components["schemas"]["SafeType"];
1024
+ /** Format: int64 */
1025
+ valuation_cap_cents?: number | null;
1026
+ };
970
1027
  CreateSeatRequest: {
971
1028
  /** Format: date */
972
1029
  appointed_date?: string | null;
@@ -1023,6 +1080,7 @@ type components = {
1023
1080
  asap?: boolean;
1024
1081
  category: string;
1025
1082
  created_by?: string | null;
1083
+ created_by_actor?: null | components["schemas"]["WorkItemActorRefRequest"];
1026
1084
  /** Format: date */
1027
1085
  deadline?: string | null;
1028
1086
  description?: string | null;
@@ -1095,10 +1153,13 @@ type components = {
1095
1153
  schedule: components["schemas"]["DelegationSchedule"];
1096
1154
  };
1097
1155
  DemoSeedRequest: {
1156
+ name?: string | null;
1098
1157
  scenario?: string;
1099
1158
  };
1100
1159
  DemoSeedResponse: {
1101
1160
  entities_created: number;
1161
+ entity_id: components["schemas"]["EntityId"];
1162
+ legal_name: string;
1102
1163
  message: string;
1103
1164
  scenario: string;
1104
1165
  workspace_id: components["schemas"]["WorkspaceId"];
@@ -1133,6 +1194,8 @@ type components = {
1133
1194
  name: string;
1134
1195
  };
1135
1196
  DissolveEntityRequest: {
1197
+ /** Format: date */
1198
+ effective_date?: string | null;
1136
1199
  reason?: string | null;
1137
1200
  };
1138
1201
  /** Format: uuid */
@@ -1296,12 +1359,15 @@ type components = {
1296
1359
  FinalizePendingFormationRequest: {
1297
1360
  /** Format: int64 */
1298
1361
  authorized_shares?: number | null;
1362
+ /** Format: int32 */
1363
+ board_size?: number | null;
1299
1364
  company_address?: null | components["schemas"]["Address"];
1300
1365
  fiscal_year_end?: string | null;
1301
1366
  formation_date?: string | null;
1302
1367
  incorporator_address?: string | null;
1303
1368
  incorporator_name?: string | null;
1304
1369
  par_value?: string | null;
1370
+ principal_name?: string | null;
1305
1371
  registered_agent_address?: string | null;
1306
1372
  registered_agent_name?: string | null;
1307
1373
  right_of_first_refusal?: boolean | null;
@@ -1818,6 +1884,8 @@ type components = {
1818
1884
  InvoiceStatus: "draft" | "sent" | "paid" | "voided";
1819
1885
  IssueStagedRoundRequest: {
1820
1886
  entity_id: components["schemas"]["EntityId"];
1887
+ meeting_id?: null | components["schemas"]["MeetingId"];
1888
+ resolution_id?: null | components["schemas"]["ResolutionId"];
1821
1889
  };
1822
1890
  IssueStagedRoundResponse: {
1823
1891
  agenda_item_id?: null | components["schemas"]["AgendaItemId"];
@@ -1846,9 +1914,10 @@ type components = {
1846
1914
  */
1847
1915
  JournalEntryStatus: "draft" | "posted" | "voided";
1848
1916
  /**
1849
- * @description A validated jurisdiction (e.g., "Delaware", "California").
1917
+ * @description A validated jurisdiction (e.g., "Delaware", "US-DE").
1850
1918
  *
1851
- * Guarantees: non-empty, at most 200 characters.
1919
+ * Guarantees: non-empty, at most 200 characters, and matches a supported US
1920
+ * state or DC jurisdiction name/code.
1852
1921
  */
1853
1922
  Jurisdiction: string;
1854
1923
  JwksResponse: {
@@ -2270,7 +2339,11 @@ type components = {
2270
2339
  ReconcileLedgerRequest: {
2271
2340
  /** Format: date */
2272
2341
  as_of_date?: string | null;
2342
+ /** Format: date */
2343
+ end_date?: string | null;
2273
2344
  entity_id: components["schemas"]["EntityId"];
2345
+ /** Format: date */
2346
+ start_date?: string | null;
2274
2347
  };
2275
2348
  /** Format: uuid */
2276
2349
  ReconciliationId: string;
@@ -2337,6 +2410,17 @@ type components = {
2337
2410
  * @enum {string}
2338
2411
  */
2339
2412
  Recurrence: "one_time" | "monthly" | "quarterly" | "annual";
2413
+ ReferenceHandleRecord: {
2414
+ created_at: string;
2415
+ entity_id?: null | components["schemas"]["EntityId"];
2416
+ handle: string;
2417
+ kind: components["schemas"]["ReferenceKind"];
2418
+ label: string;
2419
+ resource_id: string;
2420
+ updated_at: string;
2421
+ };
2422
+ /** @enum {string} */
2423
+ ReferenceKind: "entity" | "contact" | "share_transfer" | "invoice" | "bank_account" | "payment" | "payroll_run" | "distribution" | "reconciliation" | "tax_filing" | "deadline" | "classification" | "body" | "meeting" | "seat" | "agenda_item" | "resolution" | "document" | "work_item" | "agent" | "valuation" | "safe_note" | "instrument" | "share_class" | "round";
2340
2424
  RegisteredAgentConsentEvidenceRequest: {
2341
2425
  evidence_type?: string | null;
2342
2426
  evidence_uri: string;
@@ -2433,6 +2517,44 @@ type components = {
2433
2517
  conversion_precedence: components["schemas"]["InstrumentKind"][];
2434
2518
  rule_set_id: components["schemas"]["EquityRuleSetId"];
2435
2519
  };
2520
+ /** Format: uuid */
2521
+ SafeNoteId: string;
2522
+ SafeNoteResponse: {
2523
+ /** Format: int64 */
2524
+ conversion_price_cents?: number | null;
2525
+ /** Format: int64 */
2526
+ conversion_shares?: number | null;
2527
+ conversion_unit_type: string;
2528
+ converted_at?: string | null;
2529
+ created_at: string;
2530
+ /** Format: double */
2531
+ discount_rate?: number | null;
2532
+ document_id?: null | components["schemas"]["DocumentId"];
2533
+ entity_id: components["schemas"]["EntityId"];
2534
+ investor_contact_id?: null | components["schemas"]["ContactId"];
2535
+ investor_name: string;
2536
+ issued_at: string;
2537
+ meeting_id?: null | components["schemas"]["MeetingId"];
2538
+ /** Format: int64 */
2539
+ principal_amount_cents: number;
2540
+ pro_rata_rights: boolean;
2541
+ resolution_id?: null | components["schemas"]["ResolutionId"];
2542
+ safe_note_id: components["schemas"]["SafeNoteId"];
2543
+ safe_type: components["schemas"]["SafeType"];
2544
+ status: components["schemas"]["SafeStatus"];
2545
+ /** Format: int64 */
2546
+ valuation_cap_cents?: number | null;
2547
+ };
2548
+ /**
2549
+ * @description Lifecycle status of a SAFE note.
2550
+ * @enum {string}
2551
+ */
2552
+ SafeStatus: "issued" | "converted" | "cancelled";
2553
+ /**
2554
+ * @description Type of SAFE note.
2555
+ * @enum {string}
2556
+ */
2557
+ SafeType: "post_money" | "pre_money" | "mfn";
2436
2558
  /**
2437
2559
  * @description Per-agent sandbox (container) configuration.
2438
2560
  *
@@ -2527,6 +2649,7 @@ type components = {
2527
2649
  metadata?: Record<string, never>;
2528
2650
  };
2529
2651
  ServiceTokenResponse: {
2652
+ api_key_id: components["schemas"]["ApiKeyId"];
2530
2653
  /** Format: int64 */
2531
2654
  expires_in: number;
2532
2655
  token: string;
@@ -2661,6 +2784,18 @@ type components = {
2661
2784
  SubmitValuationForApprovalRequest: {
2662
2785
  entity_id: components["schemas"]["EntityId"];
2663
2786
  };
2787
+ SyncReferenceItem: {
2788
+ label: string;
2789
+ resource_id: string;
2790
+ };
2791
+ SyncReferencesRequest: {
2792
+ entity_id?: null | components["schemas"]["EntityId"];
2793
+ items: components["schemas"]["SyncReferenceItem"][];
2794
+ kind: components["schemas"]["ReferenceKind"];
2795
+ };
2796
+ SyncReferencesResponse: {
2797
+ references: components["schemas"]["ReferenceHandleRecord"][];
2798
+ };
2664
2799
  SystemHealth: {
2665
2800
  git_storage: string;
2666
2801
  status: string;
@@ -2903,6 +3038,17 @@ type components = {
2903
3038
  * @enum {string}
2904
3039
  */
2905
3040
  VotingMethod: "per_capita" | "per_unit";
3041
+ WorkItemActorRefRequest: {
3042
+ actor_id: string;
3043
+ actor_type: components["schemas"]["WorkItemActorTypeValue"];
3044
+ };
3045
+ WorkItemActorResponse: {
3046
+ actor_id: string;
3047
+ actor_type: components["schemas"]["WorkItemActorTypeValue"];
3048
+ label: string;
3049
+ };
3050
+ /** @enum {string} */
3051
+ WorkItemActorTypeValue: "contact" | "agent";
2906
3052
  /** Format: uuid */
2907
3053
  WorkItemId: string;
2908
3054
  WorkItemResponse: {
@@ -2912,10 +3058,13 @@ type components = {
2912
3058
  claim_ttl_seconds?: number | null;
2913
3059
  claimed_at?: string | null;
2914
3060
  claimed_by?: string | null;
3061
+ claimed_by_actor?: null | components["schemas"]["WorkItemActorResponse"];
2915
3062
  completed_at?: string | null;
2916
3063
  completed_by?: string | null;
3064
+ completed_by_actor?: null | components["schemas"]["WorkItemActorResponse"];
2917
3065
  created_at: string;
2918
3066
  created_by?: string | null;
3067
+ created_by_actor?: null | components["schemas"]["WorkItemActorResponse"];
2919
3068
  /** Format: date */
2920
3069
  deadline?: string | null;
2921
3070
  description: string;
@@ -3143,6 +3292,8 @@ declare class CorpAPIClient {
3143
3292
  listAgendaItems(meetingId: string, entityId: string): Promise<AgendaItemResponse[]>;
3144
3293
  listVotes(meetingId: string, itemId: string, entityId: string): Promise<VoteResponse[]>;
3145
3294
  getEntityDocuments(entityId: string): Promise<DocumentResponse[]>;
3295
+ getDocument(documentId: string, entityId: string): Promise<DocumentResponse>;
3296
+ signDocument(documentId: string, entityId: string, data: ApiRecord): Promise<ApiRecord>;
3146
3297
  generateContract(data: ApiRecord): Promise<ApiRecord>;
3147
3298
  getSigningLink(documentId: string, entityId: string): Promise<ApiRecord>;
3148
3299
  validatePreviewPdf(entityId: string, documentId: string): Promise<ApiRecord>;
@@ -3175,9 +3326,17 @@ declare class CorpAPIClient {
3175
3326
  createPendingEntity(data: ApiRecord): Promise<PendingFormationResponse>;
3176
3327
  addFounder(entityId: string, data: ApiRecord): Promise<AddFounderResponse>;
3177
3328
  finalizeFormation(entityId: string, data?: ApiRecord): Promise<FormationWithCapTableResponse>;
3329
+ markFormationDocumentsSigned(entityId: string): Promise<ApiRecord>;
3330
+ getFormationGates(entityId: string): Promise<ApiRecord>;
3331
+ recordFilingAttestation(entityId: string, data: ApiRecord): Promise<ApiRecord>;
3332
+ addRegisteredAgentConsentEvidence(entityId: string, data: ApiRecord): Promise<ApiRecord>;
3333
+ submitFiling(entityId: string): Promise<ApiRecord>;
3334
+ confirmFiling(entityId: string, data: ApiRecord): Promise<ApiRecord>;
3335
+ applyEin(entityId: string): Promise<ApiRecord>;
3336
+ confirmEin(entityId: string, data: ApiRecord): Promise<ApiRecord>;
3178
3337
  getHumanObligations(): Promise<ObligationResponse[]>;
3179
3338
  getSignerToken(obligationId: string): Promise<ApiRecord>;
3180
- seedDemo(name: string): Promise<ApiRecord>;
3339
+ seedDemo(data: ApiRecord): Promise<ApiRecord>;
3181
3340
  convertEntity(entityId: string, data: ApiRecord): Promise<ApiRecord>;
3182
3341
  dissolveEntity(entityId: string, data: ApiRecord): Promise<ApiRecord>;
3183
3342
  listAgents(): Promise<ApiRecord[]>;
@@ -3200,6 +3359,13 @@ declare class CorpAPIClient {
3200
3359
  listApiKeys(): Promise<ApiRecord[]>;
3201
3360
  assignObligation(obligationId: string, contactId: string): Promise<ApiRecord>;
3202
3361
  getConfig(): Promise<ApiRecord>;
3362
+ listServiceCatalog(): Promise<ApiRecord[]>;
3363
+ createServiceRequest(data: ApiRecord): Promise<ApiRecord>;
3364
+ getServiceRequest(id: string, entityId: string): Promise<ApiRecord>;
3365
+ listServiceRequests(entityId: string): Promise<ApiRecord[]>;
3366
+ beginServiceCheckout(id: string, data: ApiRecord): Promise<ApiRecord>;
3367
+ fulfillServiceRequest(id: string, data: ApiRecord): Promise<ApiRecord>;
3368
+ cancelServiceRequest(id: string, data: ApiRecord): Promise<ApiRecord>;
3203
3369
  submitFeedback(message: string, category?: string, email?: string): Promise<{
3204
3370
  feedback_id: string;
3205
3371
  submitted_at: string;
@@ -3384,10 +3550,16 @@ declare const ReconciliationStatus: readonly ["balanced", "discrepancy"];
3384
3550
  type ReconciliationStatus = (typeof ReconciliationStatus)[number];
3385
3551
  declare const Recurrence: readonly ["one_time", "monthly", "quarterly", "annual"];
3386
3552
  type Recurrence = (typeof Recurrence)[number];
3553
+ declare const ReferenceKind: readonly ["entity", "contact", "share_transfer", "invoice", "bank_account", "payment", "payroll_run", "distribution", "reconciliation", "tax_filing", "deadline", "classification", "body", "meeting", "seat", "agenda_item", "resolution", "document", "work_item", "agent", "valuation", "safe_note", "instrument", "share_class", "round"];
3554
+ type ReferenceKind = (typeof ReferenceKind)[number];
3387
3555
  declare const ResolutionType: readonly ["ordinary", "special", "unanimous_written_consent"];
3388
3556
  type ResolutionType = (typeof ResolutionType)[number];
3389
3557
  declare const RiskLevel: readonly ["low", "medium", "high"];
3390
3558
  type RiskLevel = (typeof RiskLevel)[number];
3559
+ declare const SafeStatus: readonly ["issued", "converted", "cancelled"];
3560
+ type SafeStatus = (typeof SafeStatus)[number];
3561
+ declare const SafeType: readonly ["post_money", "pre_money", "mfn"];
3562
+ type SafeType = (typeof SafeType)[number];
3391
3563
  declare const Scope: readonly ["formation_create", "formation_read", "formation_sign", "equity_read", "equity_write", "equity_transfer", "governance_read", "governance_write", "governance_vote", "treasury_read", "treasury_write", "treasury_approve", "contacts_read", "contacts_write", "execution_read", "execution_write", "branch_create", "branch_merge", "branch_delete", "admin", "internal_worker_read", "internal_worker_write", "secrets_manage", "all"];
3392
3564
  type Scope = (typeof Scope)[number];
3393
3565
  declare const SeatRole: readonly ["chair", "member", "officer", "observer"];
@@ -3418,9 +3590,23 @@ declare const VoteValue: readonly ["for", "against", "abstain", "recusal"];
3418
3590
  type VoteValue = (typeof VoteValue)[number];
3419
3591
  declare const VotingMethod: readonly ["per_capita", "per_unit"];
3420
3592
  type VotingMethod = (typeof VotingMethod)[number];
3593
+ declare const WorkItemActorTypeValue: readonly ["contact", "agent"];
3594
+ type WorkItemActorTypeValue = (typeof WorkItemActorTypeValue)[number];
3421
3595
  declare const WorkItemStatus: readonly ["open", "claimed", "completed", "cancelled"];
3422
3596
  type WorkItemStatus = (typeof WorkItemStatus)[number];
3423
3597
  declare const WorkflowType: readonly ["transfer", "fundraising"];
3424
3598
  type WorkflowType = (typeof WorkflowType)[number];
3425
3599
 
3426
- export { type AcceptEquityRoundRequest, type AcceptRoundRequest, AccountType, type AddFounderRequest, type AddFounderResponse, type AddSecurityRequest, type AgendaItemResponse, AgendaItemStatus, AgendaItemType, type AgentResponse, AgentStatus, AntiDilutionMethod, type ApiRecord, type ApplyEquityRoundTermsRequest, type ApplyRoundTermsRequest, AssigneeType, type AttachResolutionDocumentRequest, AuthoritySource, AuthorityTier, BankAccountStatus, BankAccountType, type BoardApproveEquityRoundRequest, type BoardApproveRoundRequest, BodyStatus, BodyType, CapTableAccess, CapTableBasis, type CapTableHolderSummary, type CapTableInstrument, type CapTableInstrumentSummary, type CapTableResponse, type CastVoteRequest, ClassificationResult, type ComputeResolutionRequest, ContactCategory, type ContactProfileResponse, type ContactResponse, ContactStatus, ContactType, ContractStatus, ContractTemplateType, ControlType, type ConveneMeetingRequest, type ConvertEntityRequest, CorpAPIClient, type CorpConfig, type CreateAgentRequest, type CreateContactRequest, type CreateEquityRoundRequest, type CreateExecutionIntentRequest, type CreateFormationRequest, type CreatePendingFormationRequest, type CreateRoundRequest, Currency, DeadlineSeverity, DeadlineStatus, type DigestSummary, type DigestTriggerResponse, type DissolveEntityRequest, DistributionStatus, DistributionType, DocumentRequestStatus, type DocumentResponse, DocumentStatus, type DocumentSummary, DocumentType, EntityType, type EquityRoundResponse, EquityRoundStatus, EscalationStatus, type ExecuteRoundConversionRequest, type FinalizeAgendaItemRequest, type FormationGatesResponse, type FormationResponse, FormationState, FormationStatus, type FormationStatusResponse, type FormationWithCapTableResponse, GENERATED_TOOL_DEFINITIONS, GlAccountCode, GovernanceAuditEventType, type GovernanceBodyResponse, GovernanceMode, type GovernanceSeatResponse, GovernanceTriggerSource, GovernanceTriggerType, GoverningDocType, GrantType, HolderType, HttpMethod, IncidentSeverity, IncidentStatus, InstrumentKind, InstrumentStatus, type IntentResponse, IntentStatus, InvestorType, type InvoiceResponse, InvoiceStatus, type IssueStagedRoundResponse, JournalEntryStatus, type LLMResponse, LegalEntityRole, type MeetingResponse, MeetingStatus, MeetingType, MemberRole, NetworkEgress, type ObligationResponse, ObligationStatus, type ObligationsSummaryResponse, OfficerTitle, PaymentMethod, PaymentStatus, PayrollStatus, type PendingFormationResponse, PositionStatus, type PreviewRoundConversionRequest, QuorumStatus, QuorumThreshold, READ_ONLY_TOOLS, ReceiptStatus, ReconciliationStatus, Recurrence, type ResolutionResponse, ResolutionType, RiskLevel, type RoundResponse, SYSTEM_PROMPT_BASE, type ScheduleMeetingRequest, Scope, SeatRole, SeatStatus, SessionExpiredError, Side, type StartStagedRoundRequest, TOOL_DEFINITIONS, TOOL_REGISTRY, TaxFilingStatus, type ToolCall, type ToolContext, TransactionPacketStatus, TransferStatus, TransferType, TransfereeRights, Transport, type UpdateAgentRequest, type UpdateContactRequest, ValuationMethodology, ValuationStatus, ValuationType, type VoteResponse, VoteValue, VotingMethod, WorkItemStatus, WorkflowType, type WorkspaceContactSummary, type WorkspaceEntitySummary, type WorkspaceStatusResponse, type WrittenConsentRequest, type WrittenConsentResponse, describeToolCall, ensureSafeInstrument, executeTool, formatConfigSection, isWriteTool, provisionWorkspace };
3600
+ declare function generateFernetKey(): string;
3601
+ declare function generateSecret(length?: number): string;
3602
+ declare function loadEnvFile(path: string): void;
3603
+ declare function ensureEnvFile(envPath: string): void;
3604
+
3605
+ declare function resolveBinaryPath(processUrl: string): string;
3606
+ interface ProcessRequestOptions {
3607
+ dataDir?: string;
3608
+ }
3609
+ declare function processRequest(processUrl: string, method: string, pathWithQuery: string, headers: Record<string, string>, body?: string, options?: ProcessRequestOptions): Response;
3610
+ declare function resetCache(): void;
3611
+
3612
+ export { type AcceptEquityRoundRequest, type AcceptRoundRequest, AccountType, type AddFounderRequest, type AddFounderResponse, type AddSecurityRequest, type AgendaItemResponse, AgendaItemStatus, AgendaItemType, type AgentResponse, AgentStatus, AntiDilutionMethod, type ApiRecord, type ApplyEquityRoundTermsRequest, type ApplyRoundTermsRequest, AssigneeType, type AttachResolutionDocumentRequest, AuthoritySource, AuthorityTier, BankAccountStatus, BankAccountType, type BoardApproveEquityRoundRequest, type BoardApproveRoundRequest, BodyStatus, BodyType, CapTableAccess, CapTableBasis, type CapTableHolderSummary, type CapTableInstrument, type CapTableInstrumentSummary, type CapTableResponse, type CastVoteRequest, ClassificationResult, type ComputeResolutionRequest, ContactCategory, type ContactProfileResponse, type ContactResponse, ContactStatus, ContactType, ContractStatus, ContractTemplateType, ControlType, type ConveneMeetingRequest, type ConvertEntityRequest, CorpAPIClient, type CorpConfig, type CreateAgentRequest, type CreateContactRequest, type CreateEquityRoundRequest, type CreateExecutionIntentRequest, type CreateFormationRequest, type CreatePendingFormationRequest, type CreateRoundRequest, Currency, DeadlineSeverity, DeadlineStatus, type DigestSummary, type DigestTriggerResponse, type DissolveEntityRequest, DistributionStatus, DistributionType, DocumentRequestStatus, type DocumentResponse, DocumentStatus, type DocumentSummary, DocumentType, EntityType, type EquityRoundResponse, EquityRoundStatus, EscalationStatus, type ExecuteRoundConversionRequest, type FinalizeAgendaItemRequest, type FormationGatesResponse, type FormationResponse, FormationState, FormationStatus, type FormationStatusResponse, type FormationWithCapTableResponse, GENERATED_TOOL_DEFINITIONS, GlAccountCode, GovernanceAuditEventType, type GovernanceBodyResponse, GovernanceMode, type GovernanceSeatResponse, GovernanceTriggerSource, GovernanceTriggerType, GoverningDocType, GrantType, HolderType, HttpMethod, IncidentSeverity, IncidentStatus, InstrumentKind, InstrumentStatus, type IntentResponse, IntentStatus, InvestorType, type InvoiceResponse, InvoiceStatus, type IssueStagedRoundResponse, JournalEntryStatus, type LLMResponse, LegalEntityRole, type MeetingResponse, MeetingStatus, MeetingType, MemberRole, NetworkEgress, type ObligationResponse, ObligationStatus, type ObligationsSummaryResponse, OfficerTitle, PaymentMethod, PaymentStatus, PayrollStatus, type PendingFormationResponse, PositionStatus, type PreviewRoundConversionRequest, type ProcessRequestOptions, QuorumStatus, QuorumThreshold, READ_ONLY_TOOLS, ReceiptStatus, ReconciliationStatus, Recurrence, ReferenceKind, type ResolutionResponse, ResolutionType, RiskLevel, type RoundResponse, SYSTEM_PROMPT_BASE, SafeStatus, SafeType, type ScheduleMeetingRequest, Scope, SeatRole, SeatStatus, SessionExpiredError, Side, type StartStagedRoundRequest, TOOL_DEFINITIONS, TOOL_REGISTRY, TaxFilingStatus, type ToolCall, type ToolContext, TransactionPacketStatus, TransferStatus, TransferType, TransfereeRights, Transport, type UpdateAgentRequest, type UpdateContactRequest, ValuationMethodology, ValuationStatus, ValuationType, type VoteResponse, VoteValue, VotingMethod, WorkItemActorTypeValue, WorkItemStatus, WorkflowType, type WorkspaceContactSummary, type WorkspaceEntitySummary, type WorkspaceStatusResponse, type WrittenConsentRequest, type WrittenConsentResponse, describeToolCall, ensureEnvFile, ensureSafeInstrument, executeTool, formatConfigSection, generateFernetKey, generateSecret, isWriteTool, loadEnvFile, processRequest, provisionWorkspace, resetCache, resolveBinaryPath };