{"entrypoint":"@insiderfinance/totalfinance/fundamentals","package":"@insiderfinance/totalfinance","domain":"fundamentals","stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","url":"/reference/totalfinance/fundamentals","exports":[{"id":"@insiderfinance/totalfinance/fundamentals#AltmanComponent","name":"AltmanComponent","kind":"interface","url":"/reference/totalfinance/fundamentals#AltmanComponent","signature":"/** One Altman component. */\nexport interface AltmanComponent {\n    component: 'X1' | 'X2' | 'X3' | 'X4' | 'X5';\n    definition: string;\n    value: number;\n    coefficient: number;\n    contribution: number;\n}","description":"One Altman component.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"coefficient","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"component","type":"'X1' | 'X2' | 'X3' | 'X4' | 'X5'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"contribution","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"definition","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"value","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#AltmanInput","name":"AltmanInput","kind":"interface","url":"/reference/totalfinance/fundamentals#AltmanInput","signature":"/** Input for {@link altmanZScore}. */\nexport interface AltmanInput {\n    statements: FinancialStatements;\n    variant: AltmanVariant;\n    /** REQUIRED for `public-manufacturing` (its X4 uses market equity); rejected otherwise. */\n    marketEquity?: number;\n}","description":"Input for {@link altmanZScore}.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"marketEquity","type":"number","description":"REQUIRED for `public-manufacturing` (its X4 uses market equity); rejected otherwise.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements","type":"FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance","type":"import('@insiderfinance/totalfinance/fundamentals').BalanceSheet","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.cashAndCashEquivalents","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.balance.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.balance.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.balance.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.balance.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalAssets","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalEquity","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalLiabilities","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow","type":"import('@insiderfinance/totalfinance/fundamentals').CashFlowStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.acquisitions","type":"number","description":"Positive magnitude of cash spent on acquisitions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.capitalExpenditure","type":"number","description":"Positive magnitude of cash spent on property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.depreciationAndAmortization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.dividendsPaid","type":"number","description":"Positive magnitude of cash paid out as dividends.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.financingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.investingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.operatingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.cashFlow.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.cashFlow.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.cashFlow.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.cashFlow.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.shareRepurchases","type":"number","description":"Positive magnitude of cash spent repurchasing shares.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.stockBasedCompensation","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income","type":"import('@insiderfinance/totalfinance/fundamentals').IncomeStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.netIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.operatingIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.income.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.income.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.income.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.income.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.revenue","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"variant","type":"AltmanVariant","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#AltmanResult","name":"AltmanResult","kind":"interface","url":"/reference/totalfinance/fundamentals#AltmanResult","signature":"/** Result of {@link altmanZScore}. */\nexport interface AltmanResult {\n    assumptions: {\n        /** The published model name (a label, deliberately not a literal type). */\n        model: string;\n        variant: AltmanVariant;\n        equityBasis: 'market' | 'book';\n    };\n    diagnostics: {\n        warnings: string[];\n    };\n    zScore: number;\n    variant: AltmanVariant;\n    components: AltmanComponent[];\n}","description":"Result of {@link altmanZScore}.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"assumptions","type":"{ equityBasis: 'market' | 'book'; model: string; variant: AltmanVariant; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.equityBasis","type":"'market' | 'book'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.model","type":"string","description":"The published model name (a label, deliberately not a literal type).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.variant","type":"AltmanVariant","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"components","type":"AltmanComponent[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"diagnostics","type":"{ warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"variant","type":"AltmanVariant","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"zScore","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#AltmanVariant","name":"AltmanVariant","kind":"type","url":"/reference/totalfinance/fundamentals#AltmanVariant","signature":"// ---------------------------------------------------------------------------------------------------\n// Altman Z-score\n// ---------------------------------------------------------------------------------------------------\n/** The published Altman variants; each fixes its coefficients and its equity basis. */\nexport type AltmanVariant = 'public-manufacturing' | 'private-manufacturing' | 'non-manufacturing';","description":"The published Altman variants; each fixes its coefficients and its equity basis.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[]},{"id":"@insiderfinance/totalfinance/fundamentals#AnalyzeFundamentalsInput","name":"AnalyzeFundamentalsInput","kind":"interface","url":"/reference/totalfinance/fundamentals#AnalyzeFundamentalsInput","signature":"/** Input for {@link analyzeFundamentals}. */\nexport interface AnalyzeFundamentalsInput {\n    /** The reported history (restatements included) — the analysis sees only what `asOf` allows. */\n    statements: readonly FinancialStatements[];\n    /** The market side for valuation multiples; without it they are reported missing, not guessed. */\n    marketSnapshot?: MarketObservation;\n    asOf: EpochMs;\n    restatementPolicy: RestatementPolicy;\n    /** Day metrics need the explicit period-day count; absent → they are reported missing. */\n    periodDays?: number;\n    /** Bounds market-observation staleness for the multiples when supplied. */\n    maximumStalenessMs?: number;\n    /** Explicit tax rate for return on invested capital; else the effective rate is derived. */\n    taxRate?: number;\n    /** The exact debt-service denominator; absent → debtServiceCoverage is reported missing. */\n    debtServiceAmount?: number;\n    /** Separately supplied non-operating assets for enterprise value. */\n    nonOperatingAssets?: number;\n    /** Runs the Altman Z-score under this explicit published variant; absent → reported missing. */\n    altmanVariant?: AltmanVariant;\n}","description":"Input for {@link analyzeFundamentals}.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"altmanVariant","type":"AltmanVariant","description":"Runs the Altman Z-score under this explicit published variant; absent → reported missing.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"asOf","type":"number","description":"","optional":false,"defaultValue":null,"unit":"an instant: epoch milliseconds or a YYYY-MM-DD / zoned ISO string (the resolveAsOf convention)"},{"name":"debtServiceAmount","type":"number","description":"The exact debt-service denominator; absent → debtServiceCoverage is reported missing.","optional":true,"defaultValue":null,"unit":"currency amount (the field or record currency)"},{"name":"marketSnapshot","type":"MarketObservation","description":"The market side for valuation multiples; without it they are reported missing, not guessed.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"marketSnapshot.marketCapitalization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"marketSnapshot.observedTimestampMs","type":"number","description":"When the price was observed (epoch ms). Must not precede the fundamentals' availability.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"marketSnapshot.sharePrice","type":"number","description":"","optional":false,"defaultValue":null,"unit":"currency amount (the field or record currency)"},{"name":"marketSnapshot.sharesOutstanding","type":"number","description":"Split-adjusted shares consistent with `sharePrice`.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"maximumStalenessMs","type":"number","description":"Bounds market-observation staleness for the multiples when supplied.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"nonOperatingAssets","type":"number","description":"Separately supplied non-operating assets for enterprise value.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"periodDays","type":"number","description":"Day metrics need the explicit period-day count; absent → they are reported missing.","optional":true,"defaultValue":null,"unit":"days"},{"name":"restatementPolicy","type":"RestatementPolicy","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements","type":"readonly FinancialStatements[]","description":"The reported history (restatements included) — the analysis sees only what `asOf` allows.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"taxRate","type":"number","description":"Explicit tax rate for return on invested capital; else the effective rate is derived.","optional":true,"defaultValue":null,"unit":"decimal rate (0.05 = 5%)"}]},{"id":"@insiderfinance/totalfinance/fundamentals#AnalyzeFundamentalsResult","name":"AnalyzeFundamentalsResult","kind":"interface","url":"/reference/totalfinance/fundamentals#AnalyzeFundamentalsResult","signature":"/** Result of {@link analyzeFundamentals}. */\nexport interface AnalyzeFundamentalsResult {\n    assumptions: {\n        asOf: EpochMs;\n        restatementPolicy: RestatementPolicy;\n        periodUsed: {\n            periodEndDate: string;\n            periodType: string;\n            fiscalYear: number;\n        };\n        priorPeriodUsed?: {\n            periodEndDate: string;\n            periodType: string;\n            fiscalYear: number;\n        };\n    };\n    diagnostics: {\n        /** One warning per metric that could not be formed (mirrors `missing`). */\n        warnings: string[];\n    };\n    asOf: EpochMs;\n    restatementPolicy: RestatementPolicy;\n    /** How many statement sets were visible at `asOf` after restatement resolution. */\n    periodsVisible: number;\n    /** The period the single-period metrics used. */\n    periodUsed: {\n        periodEndDate: string;\n        periodType: string;\n        fiscalYear: number;\n    };\n    /** The prior period the average-balance metrics used, when one was visible. */\n    priorPeriodUsed?: {\n        periodEndDate: string;\n        periodType: string;\n        fiscalYear: number;\n    };\n    ratios: Record<string, AnalyzedRatio>;\n    scores: {\n        piotroski?: PiotroskiResult;\n        altman?: AltmanResult;\n        beneish?: BeneishResult;\n    };\n    /** Every metric that could not be formed, with its reason — the honest gaps ledger. */\n    missing: Array<{\n        metric: string;\n        reason: string;\n    }>;\n}","description":"Result of {@link analyzeFundamentals}.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"asOf","type":"number","description":"","optional":false,"defaultValue":null,"unit":"an instant: epoch milliseconds or a YYYY-MM-DD / zoned ISO string (the resolveAsOf convention)"},{"name":"assumptions","type":"{ asOf: EpochMs; periodUsed: { periodEndDate: string; periodType: string; fiscalYear: number; }; priorPeriodUsed?: { periodEndDate: string; periodType: string; fiscalYear: number; }; restatementPolicy: RestatementPolicy; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.asOf","type":"number","description":"","optional":false,"defaultValue":null,"unit":"an instant: epoch milliseconds or a YYYY-MM-DD / zoned ISO string (the resolveAsOf convention)"},{"name":"assumptions.periodUsed","type":"{ fiscalYear: number; periodEndDate: string; periodType: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.periodUsed.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.periodUsed.periodEndDate","type":"string","description":"","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"assumptions.periodUsed.periodType","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.priorPeriodUsed","type":"{ fiscalYear: number; periodEndDate: string; periodType: string; }","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.priorPeriodUsed.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.priorPeriodUsed.periodEndDate","type":"string","description":"","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"assumptions.priorPeriodUsed.periodType","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.restatementPolicy","type":"RestatementPolicy","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"diagnostics","type":"{ warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"diagnostics.warnings","type":"string[]","description":"One warning per metric that could not be formed (mirrors `missing`).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"missing","type":"{ metric: string; reason: string; }[]","description":"Every metric that could not be formed, with its reason — the honest gaps ledger.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"periodUsed","type":"{ fiscalYear: number; periodEndDate: string; periodType: string; }","description":"The period the single-period metrics used.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"periodUsed.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"periodUsed.periodEndDate","type":"string","description":"","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"periodUsed.periodType","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"periodsVisible","type":"number","description":"How many statement sets were visible at `asOf` after restatement resolution.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPeriodUsed","type":"{ fiscalYear: number; periodEndDate: string; periodType: string; }","description":"The prior period the average-balance metrics used, when one was visible.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPeriodUsed.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPeriodUsed.periodEndDate","type":"string","description":"","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"priorPeriodUsed.periodType","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"ratios","type":"Record<string, AnalyzedRatio>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"restatementPolicy","type":"RestatementPolicy","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"scores","type":"{ altman?: AltmanResult; beneish?: BeneishResult; piotroski?: PiotroskiResult; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"scores.altman","type":"AltmanResult","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"scores.altman.assumptions","type":"{ equityBasis: 'market' | 'book'; model: string; variant: AltmanVariant; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"scores.altman.assumptions.equityBasis","type":"'market' | 'book'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"scores.altman.assumptions.model","type":"string","description":"The published model name (a label, deliberately not a literal type).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"scores.altman.assumptions.variant","type":"AltmanVariant","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"scores.altman.components","type":"import('@insiderfinance/totalfinance/fundamentals').AltmanComponent[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"scores.altman.diagnostics","type":"{ warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"scores.altman.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"scores.altman.variant","type":"AltmanVariant","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"scores.altman.zScore","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"scores.beneish","type":"BeneishResult","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"scores.beneish.assumptions","type":"{ model: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"scores.beneish.assumptions.model","type":"string","description":"The published model name (a label, deliberately not a literal type).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"scores.beneish.components","type":"import('@insiderfinance/totalfinance/fundamentals').BeneishComponent[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"scores.beneish.diagnostics","type":"{ warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"scores.beneish.diagnostics.warnings","type":"string[]","description":"Conventions the inputs forced (e.g. D&A standing in for pure depreciation) — disclosed.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"scores.beneish.mScore","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"scores.beneish.notes","type":"string[]","description":"The same disclosures as `diagnostics.warnings` (kept for direct reading).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"scores.piotroski","type":"PiotroskiResult","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"scores.piotroski.assumptions","type":"{ model: string; returnBasis: 'beginning total assets'; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"scores.piotroski.assumptions.model","type":"string","description":"The published model name (a label, deliberately not a literal type).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"scores.piotroski.assumptions.returnBasis","type":"'beginning total assets'","description":"Returns and turnover use BEGINNING total assets, per the paper.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"scores.piotroski.diagnostics","type":"{ warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"scores.piotroski.diagnostics.warnings","type":"string[]","description":"One warning per unevaluable signal.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"scores.piotroski.evaluableSignals","type":"number","description":"How many of the nine signals could be evaluated; 9 when every input line was present.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"scores.piotroski.fScore","type":"number","description":"Sum of the evaluable signals (each 0 or 1).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"scores.piotroski.signals","type":"import('@insiderfinance/totalfinance/fundamentals').PiotroskiSignal[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#AnalyzedRatio","name":"AnalyzedRatio","kind":"interface","url":"/reference/totalfinance/fundamentals#AnalyzedRatio","signature":"/** One computed (or explicitly not-computed) metric. */\nexport interface AnalyzedRatio {\n    value: number | null;\n    reason?: string;\n}","description":"One computed (or explicitly not-computed) metric.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"reason","type":"string","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"value","type":"number | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#BalanceSheet","name":"BalanceSheet","kind":"interface","url":"/reference/totalfinance/fundamentals#BalanceSheet","signature":"/** One reported balance sheet (balances at `period.periodEndDate`). */\nexport interface BalanceSheet {\n    period: FundamentalPeriod;\n    cashAndCashEquivalents: number;\n    shortTermInvestments?: number;\n    accountsReceivable?: number;\n    inventory?: number;\n    currentAssets?: number;\n    /** Net property, plant, and equipment. */\n    propertyPlantEquipmentNet?: number;\n    totalAssets: number;\n    currentLiabilities?: number;\n    accountsPayable?: number;\n    /** Interest-bearing debt due within one year. */\n    shortTermDebt?: number;\n    /** Interest-bearing debt due beyond one year. */\n    longTermDebt?: number;\n    /**\n     * Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n     * `shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.\n     */\n    totalDebt?: number;\n    totalLiabilities: number;\n    preferredEquity?: number;\n    minorityInterest?: number;\n    totalEquity: number;\n    retainedEarnings?: number;\n    /** Source-specific extras, preserved verbatim and never consumed by compute functions. */\n    metadata?: Record<string, unknown>;\n}","description":"One reported balance sheet (balances at `period.periodEndDate`).","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"cashAndCashEquivalents","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"period","type":"FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"totalAssets","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"totalEquity","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"totalLiabilities","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#BalanceSheetRatioInput","name":"BalanceSheetRatioInput","kind":"type","url":"/reference/totalfinance/fundamentals#BalanceSheetRatioInput","signature":"/** Balance-only formulas: use the actual balance sheet or the existing complete set. */\nexport type BalanceSheetRatioInput<Facts extends Pick<BalanceSheet, 'period'> = BalanceSheet> = (SingleStatementRatioInput & {\n    balance?: never;\n}) | {\n    balance: Facts & Partial<BalanceSheet>;\n    statements?: never;\n};","description":"Balance-only formulas: use the actual balance sheet or the existing complete set.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"balance","type":"Facts & Partial<BalanceSheet>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.cashAndCashEquivalents","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"balance.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"balance.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"balance.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"balance.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.totalAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.totalEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.totalLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements","type":"never","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#BeneishComponent","name":"BeneishComponent","kind":"interface","url":"/reference/totalfinance/fundamentals#BeneishComponent","signature":"/** One Beneish component index. */\nexport interface BeneishComponent {\n    index: 'DSRI' | 'GMI' | 'AQI' | 'SGI' | 'DEPI' | 'SGAI' | 'LVGI' | 'TATA';\n    expandedName: string;\n    value: number;\n    coefficient: number;\n    contribution: number;\n    currentPeriodEndDate: string;\n    priorPeriodEndDate: string;\n}","description":"One Beneish component index.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"coefficient","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"contribution","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"currentPeriodEndDate","type":"string","description":"","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"expandedName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"index","type":"'DSRI' | 'GMI' | 'AQI' | 'SGI' | 'DEPI' | 'SGAI' | 'LVGI' | 'TATA'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPeriodEndDate","type":"string","description":"","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"value","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#BeneishInput","name":"BeneishInput","kind":"interface","url":"/reference/totalfinance/fundamentals#BeneishInput","signature":"// ---------------------------------------------------------------------------------------------------\n// Beneish M-score\n// ---------------------------------------------------------------------------------------------------\n/** Input for {@link beneishMScore}: two consecutive periods. */\nexport interface BeneishInput {\n    current: FinancialStatements;\n    prior: FinancialStatements;\n}","description":"Input for {@link beneishMScore}: two consecutive periods.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"current","type":"FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance","type":"import('@insiderfinance/totalfinance/fundamentals').BalanceSheet","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.cashAndCashEquivalents","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.balance.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.balance.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.balance.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.balance.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.totalAssets","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.totalEquity","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.totalLiabilities","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow","type":"import('@insiderfinance/totalfinance/fundamentals').CashFlowStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.acquisitions","type":"number","description":"Positive magnitude of cash spent on acquisitions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.capitalExpenditure","type":"number","description":"Positive magnitude of cash spent on property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.depreciationAndAmortization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.dividendsPaid","type":"number","description":"Positive magnitude of cash paid out as dividends.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.financingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.investingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.operatingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.cashFlow.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.cashFlow.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.cashFlow.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.cashFlow.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.shareRepurchases","type":"number","description":"Positive magnitude of cash spent repurchasing shares.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.stockBasedCompensation","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income","type":"import('@insiderfinance/totalfinance/fundamentals').IncomeStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.netIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.operatingIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.income.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.income.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.income.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.income.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.revenue","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior","type":"FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance","type":"import('@insiderfinance/totalfinance/fundamentals').BalanceSheet","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.cashAndCashEquivalents","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.balance.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.balance.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.balance.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.balance.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.totalAssets","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.totalEquity","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.totalLiabilities","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow","type":"import('@insiderfinance/totalfinance/fundamentals').CashFlowStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.acquisitions","type":"number","description":"Positive magnitude of cash spent on acquisitions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.capitalExpenditure","type":"number","description":"Positive magnitude of cash spent on property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.depreciationAndAmortization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.dividendsPaid","type":"number","description":"Positive magnitude of cash paid out as dividends.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.financingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.investingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.operatingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.cashFlow.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.cashFlow.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.cashFlow.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.cashFlow.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.shareRepurchases","type":"number","description":"Positive magnitude of cash spent repurchasing shares.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.stockBasedCompensation","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income","type":"import('@insiderfinance/totalfinance/fundamentals').IncomeStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.netIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.operatingIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.income.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.income.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.income.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.income.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.revenue","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#BeneishResult","name":"BeneishResult","kind":"interface","url":"/reference/totalfinance/fundamentals#BeneishResult","signature":"/** Result of {@link beneishMScore}. */\nexport interface BeneishResult {\n    assumptions: {\n        /** The published model name (a label, deliberately not a literal type). */\n        model: string;\n    };\n    diagnostics: {\n        /** Conventions the inputs forced (e.g. D&A standing in for pure depreciation) — disclosed. */\n        warnings: string[];\n    };\n    mScore: number;\n    components: BeneishComponent[];\n    /** The same disclosures as `diagnostics.warnings` (kept for direct reading). */\n    notes: string[];\n}","description":"Result of {@link beneishMScore}.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"assumptions","type":"{ model: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.model","type":"string","description":"The published model name (a label, deliberately not a literal type).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"components","type":"BeneishComponent[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"diagnostics","type":"{ warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"diagnostics.warnings","type":"string[]","description":"Conventions the inputs forced (e.g. D&A standing in for pure depreciation) — disclosed.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"mScore","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"notes","type":"string[]","description":"The same disclosures as `diagnostics.warnings` (kept for direct reading).","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#CashFlowStatement","name":"CashFlowStatement","kind":"interface","url":"/reference/totalfinance/fundamentals#CashFlowStatement","signature":"/** One reported cash-flow statement (flows over the period). */\nexport interface CashFlowStatement {\n    period: FundamentalPeriod;\n    operatingCashFlow: number;\n    investingCashFlow: number;\n    financingCashFlow: number;\n    /** Positive magnitude of cash spent on property, plant, and equipment. */\n    capitalExpenditure?: number;\n    depreciationAndAmortization?: number;\n    stockBasedCompensation?: number;\n    /** Positive magnitude of cash spent on acquisitions. */\n    acquisitions?: number;\n    /** Positive magnitude of cash paid out as dividends. */\n    dividendsPaid?: number;\n    /** Positive magnitude of cash spent repurchasing shares. */\n    shareRepurchases?: number;\n    /** Source-specific extras, preserved verbatim and never consumed by compute functions. */\n    metadata?: Record<string, unknown>;\n}","description":"One reported cash-flow statement (flows over the period).","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"acquisitions","type":"number","description":"Positive magnitude of cash spent on acquisitions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"capitalExpenditure","type":"number","description":"Positive magnitude of cash spent on property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"depreciationAndAmortization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"dividendsPaid","type":"number","description":"Positive magnitude of cash paid out as dividends.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"financingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"investingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"operatingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"period","type":"FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"shareRepurchases","type":"number","description":"Positive magnitude of cash spent repurchasing shares.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"stockBasedCompensation","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#CommonSizeInput","name":"CommonSizeInput","kind":"interface","url":"/reference/totalfinance/fundamentals#CommonSizeInput","signature":"// ---------------------------------------------------------------------------------------------------\n// commonSizeFinancialStatements\n// ---------------------------------------------------------------------------------------------------\n/** Input for {@link commonSizeFinancialStatements}. */\nexport interface CommonSizeInput {\n    statements: FinancialStatements;\n}","description":"Input for {@link commonSizeFinancialStatements}.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"statements","type":"FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance","type":"BalanceSheet","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.cashAndCashEquivalents","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period","type":"FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.balance.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.balance.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.balance.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.balance.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalAssets","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalEquity","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalLiabilities","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow","type":"CashFlowStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.acquisitions","type":"number","description":"Positive magnitude of cash spent on acquisitions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.capitalExpenditure","type":"number","description":"Positive magnitude of cash spent on property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.depreciationAndAmortization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.dividendsPaid","type":"number","description":"Positive magnitude of cash paid out as dividends.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.financingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.investingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.operatingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period","type":"FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.cashFlow.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.cashFlow.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.cashFlow.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.cashFlow.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.shareRepurchases","type":"number","description":"Positive magnitude of cash spent repurchasing shares.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.stockBasedCompensation","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income","type":"IncomeStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.netIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.operatingIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period","type":"FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.income.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.income.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.income.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.income.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.revenue","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#CommonSizeResult","name":"CommonSizeResult","kind":"interface","url":"/reference/totalfinance/fundamentals#CommonSizeResult","signature":"/** Result of {@link commonSizeFinancialStatements}: each line as a FRACTION of its stated base. */\nexport interface CommonSizeResult {\n    assumptions: {\n        incomeBasis: 'revenue';\n        balanceBasis: 'totalAssets';\n        cashFlowBasis: 'revenue';\n    };\n    diagnostics: {\n        warnings: string[];\n    };\n    /** Income lines over `revenue`. */\n    income: {\n        basis: 'revenue';\n        lines: Record<string, number>;\n    };\n    /** Balance lines over `totalAssets`. */\n    balance: {\n        basis: 'totalAssets';\n        lines: Record<string, number>;\n    };\n    /** Cash-flow lines over `revenue`. */\n    cashFlow: {\n        basis: 'revenue';\n        lines: Record<string, number>;\n    };\n}","description":"Result of {@link commonSizeFinancialStatements}: each line as a FRACTION of its stated base.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"assumptions","type":"{ balanceBasis: 'totalAssets'; cashFlowBasis: 'revenue'; incomeBasis: 'revenue'; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.balanceBasis","type":"'totalAssets'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.cashFlowBasis","type":"'revenue'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.incomeBasis","type":"'revenue'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"balance","type":"{ basis: 'totalAssets'; lines: Record<string, number>; }","description":"Balance lines over `totalAssets`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.basis","type":"'totalAssets'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.lines","type":"Record<string, number>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"cashFlow","type":"{ basis: 'revenue'; lines: Record<string, number>; }","description":"Cash-flow lines over `revenue`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"cashFlow.basis","type":"'revenue'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"cashFlow.lines","type":"Record<string, number>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"diagnostics","type":"{ warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"income","type":"{ basis: 'revenue'; lines: Record<string, number>; }","description":"Income lines over `revenue`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"income.basis","type":"'revenue'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"income.lines","type":"Record<string, number>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#DayMetricRatioInput","name":"DayMetricRatioInput","kind":"interface","url":"/reference/totalfinance/fundamentals#DayMetricRatioInput","signature":"/** Day metrics: the pair plus the explicit period-day count (never guessed). */\nexport interface DayMetricRatioInput extends PairRatioInput {\n    periodDays: number;\n}","description":"Day metrics: the pair plus the explicit period-day count (never guessed).","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"current","type":"FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance","type":"BalanceSheet","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.cashAndCashEquivalents","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.balance.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.balance.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.balance.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.balance.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.totalAssets","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.totalEquity","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.totalLiabilities","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow","type":"import('@insiderfinance/totalfinance/fundamentals').CashFlowStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.acquisitions","type":"number","description":"Positive magnitude of cash spent on acquisitions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.capitalExpenditure","type":"number","description":"Positive magnitude of cash spent on property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.depreciationAndAmortization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.dividendsPaid","type":"number","description":"Positive magnitude of cash paid out as dividends.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.financingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.investingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.operatingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.cashFlow.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.cashFlow.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.cashFlow.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.cashFlow.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.shareRepurchases","type":"number","description":"Positive magnitude of cash spent repurchasing shares.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.stockBasedCompensation","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income","type":"IncomeStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.netIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.operatingIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.income.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.income.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.income.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.income.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.revenue","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"periodDays","type":"number","description":"","optional":false,"defaultValue":null,"unit":"days"},{"name":"prior","type":"FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance","type":"BalanceSheet","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.cashAndCashEquivalents","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.balance.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.balance.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.balance.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.balance.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.totalAssets","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.totalEquity","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.totalLiabilities","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow","type":"import('@insiderfinance/totalfinance/fundamentals').CashFlowStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.acquisitions","type":"number","description":"Positive magnitude of cash spent on acquisitions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.capitalExpenditure","type":"number","description":"Positive magnitude of cash spent on property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.depreciationAndAmortization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.dividendsPaid","type":"number","description":"Positive magnitude of cash paid out as dividends.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.financingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.investingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.operatingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.cashFlow.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.cashFlow.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.cashFlow.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.cashFlow.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.shareRepurchases","type":"number","description":"Positive magnitude of cash spent repurchasing shares.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.stockBasedCompensation","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income","type":"IncomeStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.netIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.operatingIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.income.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.income.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.income.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.income.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.revenue","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#DebtServiceCoverageInput","name":"DebtServiceCoverageInput","kind":"type","url":"/reference/totalfinance/fundamentals#DebtServiceCoverageInput","signature":"/** Additive income-only coverage request; the existing extendable full-set interface is preserved. */\nexport type DebtServiceCoverageInput = IncomeStatementRatioInput<Pick<IncomeStatement, 'period' | 'operatingIncome'>> & {\n    debtServiceAmount: number;\n};","description":"Additive income-only coverage request; the existing extendable full-set interface is preserved.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[]},{"id":"@insiderfinance/totalfinance/fundamentals#DebtServiceRatioInput","name":"DebtServiceRatioInput","kind":"interface","url":"/reference/totalfinance/fundamentals#DebtServiceRatioInput","signature":"/** Debt-service coverage: the exact supplied denominator. */\nexport interface DebtServiceRatioInput extends SingleStatementRatioInput {\n    debtServiceAmount: number;\n}","description":"Debt-service coverage: the exact supplied denominator.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"debtServiceAmount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"currency amount (the field or record currency)"},{"name":"statements","type":"FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance","type":"BalanceSheet","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.cashAndCashEquivalents","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.balance.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.balance.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.balance.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.balance.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalAssets","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalEquity","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalLiabilities","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow","type":"import('@insiderfinance/totalfinance/fundamentals').CashFlowStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.acquisitions","type":"number","description":"Positive magnitude of cash spent on acquisitions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.capitalExpenditure","type":"number","description":"Positive magnitude of cash spent on property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.depreciationAndAmortization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.dividendsPaid","type":"number","description":"Positive magnitude of cash paid out as dividends.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.financingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.investingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.operatingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.cashFlow.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.cashFlow.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.cashFlow.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.cashFlow.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.shareRepurchases","type":"number","description":"Positive magnitude of cash spent repurchasing shares.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.stockBasedCompensation","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income","type":"IncomeStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.netIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.operatingIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.income.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.income.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.income.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.income.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.revenue","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#EnterpriseMultipleRatioInput","name":"EnterpriseMultipleRatioInput","kind":"interface","url":"/reference/totalfinance/fundamentals#EnterpriseMultipleRatioInput","signature":"/** Enterprise-value multiples: separately supplied non-operating assets. */\nexport interface EnterpriseMultipleRatioInput extends MarketMultipleRatioInput {\n    nonOperatingAssets?: number;\n}","description":"Enterprise-value multiples: separately supplied non-operating assets.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"marketObservation","type":"MarketObservation","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"marketObservation.marketCapitalization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"marketObservation.observedTimestampMs","type":"number","description":"When the price was observed (epoch ms). Must not precede the fundamentals' availability.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"marketObservation.sharePrice","type":"number","description":"","optional":false,"defaultValue":null,"unit":"currency amount (the field or record currency)"},{"name":"marketObservation.sharesOutstanding","type":"number","description":"Split-adjusted shares consistent with `sharePrice`.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"maximumStalenessMs","type":"number","description":"","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"nonOperatingAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements","type":"FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance","type":"BalanceSheet","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.cashAndCashEquivalents","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.balance.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.balance.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.balance.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.balance.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalAssets","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalEquity","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalLiabilities","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow","type":"import('@insiderfinance/totalfinance/fundamentals').CashFlowStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.acquisitions","type":"number","description":"Positive magnitude of cash spent on acquisitions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.capitalExpenditure","type":"number","description":"Positive magnitude of cash spent on property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.depreciationAndAmortization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.dividendsPaid","type":"number","description":"Positive magnitude of cash paid out as dividends.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.financingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.investingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.operatingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.cashFlow.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.cashFlow.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.cashFlow.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.cashFlow.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.shareRepurchases","type":"number","description":"Positive magnitude of cash spent repurchasing shares.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.stockBasedCompensation","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income","type":"IncomeStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.netIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.operatingIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.income.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.income.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.income.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.income.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.revenue","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#FinancialStatements","name":"FinancialStatements","kind":"interface","url":"/reference/totalfinance/fundamentals#FinancialStatements","signature":"/**\n * The three statements of ONE period. The periods must agree on their identity — end date, type,\n * currency, and monetary scale — because every ratio that crosses statements assumes it; the set's\n * point-in-time availability is the LATEST of the three (a set is visible only when whole).\n */\nexport interface FinancialStatements {\n    income: IncomeStatement;\n    balance: BalanceSheet;\n    cashFlow: CashFlowStatement;\n}","description":"The three statements of ONE period. The periods must agree on their identity — end date, type,\ncurrency, and monetary scale — because every ratio that crosses statements assumes it; the set's\npoint-in-time availability is the LATEST of the three (a set is visible only when whole).","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"balance","type":"BalanceSheet","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.cashAndCashEquivalents","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.period","type":"FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"balance.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"balance.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"balance.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"balance.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.totalAssets","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.totalEquity","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.totalLiabilities","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"cashFlow","type":"CashFlowStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"cashFlow.acquisitions","type":"number","description":"Positive magnitude of cash spent on acquisitions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"cashFlow.capitalExpenditure","type":"number","description":"Positive magnitude of cash spent on property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"cashFlow.depreciationAndAmortization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"cashFlow.dividendsPaid","type":"number","description":"Positive magnitude of cash paid out as dividends.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"cashFlow.financingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"cashFlow.investingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"cashFlow.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"cashFlow.operatingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"cashFlow.period","type":"FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"cashFlow.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"cashFlow.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"cashFlow.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"cashFlow.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"cashFlow.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"cashFlow.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"cashFlow.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"cashFlow.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"cashFlow.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"cashFlow.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"cashFlow.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"cashFlow.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"cashFlow.shareRepurchases","type":"number","description":"Positive magnitude of cash spent repurchasing shares.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"cashFlow.stockBasedCompensation","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income","type":"IncomeStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.netIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.operatingIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"income.period","type":"FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"income.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"income.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"income.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"income.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"income.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"income.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"income.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"income.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"income.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.revenue","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#FundamentalGrowthInput","name":"FundamentalGrowthInput","kind":"interface","url":"/reference/totalfinance/fundamentals/page-2#FundamentalGrowthInput","signature":"// ---------------------------------------------------------------------------------------------------\n// fundamentalGrowth\n// ---------------------------------------------------------------------------------------------------\n/** Input for {@link fundamentalGrowth}. */\nexport interface FundamentalGrowthInput {\n    /** At least two observations of one amount, period end ascending. */\n    observations: readonly {\n        periodEndDate: string;\n        amount: number;\n    }[];\n}","description":"Input for {@link fundamentalGrowth}.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"observations","type":"readonly { periodEndDate: string; amount: number; }[]","description":"At least two observations of one amount, period end ascending.","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#FundamentalGrowthResult","name":"FundamentalGrowthResult","kind":"interface","url":"/reference/totalfinance/fundamentals/page-2#FundamentalGrowthResult","signature":"/** Result of {@link fundamentalGrowth} — the one analysis report grammar. */\nexport interface FundamentalGrowthResult {\n    assumptions: {\n        /** Elapsed time between period ends is an ACT/365F year fraction (a label, not a literal). */\n        elapsedYearsBasis: string;\n        observationCount: number;\n    };\n    diagnostics: {\n        /** Every null growth's reason surfaces here too, so a reader scans one place. */\n        warnings: string[];\n    };\n    /**\n     * One row per adjacent pair: fractional growth `current / prior - 1`, or `null` with the reason\n     * when the prior amount is zero or the pair crosses sign (a growth rate through zero has no\n     * meaningful magnitude).\n     */\n    periodOverPeriod: Array<{\n        fromPeriodEndDate: string;\n        toPeriodEndDate: string;\n        growth: number | null;\n        reason?: string;\n    }>;\n    /**\n     * Compound annual growth from the first to the last observation over the ACTUAL elapsed years\n     * (ACT/365F between the period ends), or `null` with the reason when the endpoints make the\n     * exponent meaningless (non-positive start, sign change, or zero elapsed time).\n     */\n    compoundAnnualGrowthRate: number | null;\n    compoundAnnualGrowthReason?: string;\n    elapsedYears: number;\n}","description":"Result of {@link fundamentalGrowth} — the one analysis report grammar.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"assumptions","type":"{ elapsedYearsBasis: string; observationCount: number; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.elapsedYearsBasis","type":"string","description":"Elapsed time between period ends is an ACT/365F year fraction (a label, not a literal).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.observationCount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"count (integer)"},{"name":"compoundAnnualGrowthRate","type":"number | null","description":"Compound annual growth from the first to the last observation over the ACTUAL elapsed years\n(ACT/365F between the period ends), or `null` with the reason when the endpoints make the\nexponent meaningless (non-positive start, sign change, or zero elapsed time).","optional":false,"defaultValue":null,"unit":"decimal rate (0.05 = 5%)"},{"name":"compoundAnnualGrowthReason","type":"string","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"diagnostics","type":"{ warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"diagnostics.warnings","type":"string[]","description":"Every null growth's reason surfaces here too, so a reader scans one place.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"elapsedYears","type":"number","description":"","optional":false,"defaultValue":null,"unit":"years (decimal)"},{"name":"periodOverPeriod","type":"{ fromPeriodEndDate: string; toPeriodEndDate: string; growth: number | null; reason?: string; }[]","description":"One row per adjacent pair: fractional growth `current / prior - 1`, or `null` with the reason\nwhen the prior amount is zero or the pair crosses sign (a growth rate through zero has no\nmeaningful magnitude).","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#FundamentalPeriod","name":"FundamentalPeriod","kind":"interface","url":"/reference/totalfinance/fundamentals/page-2#FundamentalPeriod","signature":"/** One reported fundamental period, point-in-time aware (FC0 — frozen). */\nexport interface FundamentalPeriod {\n    /** Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends. */\n    periodStartDate?: string;\n    /** Strict `YYYY-MM-DD` calendar date the period ends on. */\n    periodEndDate: string;\n    fiscalYear: number;\n    fiscalQuarter?: 1 | 2 | 3 | 4;\n    periodType: 'quarter' | 'year' | 'trailing-twelve-months';\n    /** When the filing was made, when known. */\n    filedTimestampMs?: EpochMs;\n    /**\n     * When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\n     * backtest or event study must not see this period before this time; `periodEndDate` never\n     * controls eligibility.\n     */\n    availableTimestampMs: EpochMs;\n    /** ISO 4217 currency of the monetary figures. */\n    currency: string;\n    /** Monetary figures are reported in units of this scale. */\n    monetaryScale: 1 | 1000 | 1000000;\n    /** Source form (e.g. `10-Q`), when known. */\n    form?: string;\n    /** Source accession identifier, when known. */\n    accession?: string;\n    /** When this record restates an earlier one, the accession (or identifier) it restates. */\n    restatementOf?: string;\n}","description":"One reported fundamental period, point-in-time aware (FC0 — frozen).","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#FundamentalSeries","name":"FundamentalSeries","kind":"interface","url":"/reference/totalfinance/fundamentals/page-2#FundamentalSeries","signature":"/**\n * The full reported history of one entity, restatements included: ordered by period end ascending,\n * with a restatement appearing as a SECOND record for the same period carrying its own\n * `availableTimestampMs` and `restatementOf` provenance. Nothing is ever overwritten.\n */\nexport interface FundamentalSeries {\n    /** Optional entity label carried into diagnostics (a symbol, CIK, or internal id). */\n    entity?: string;\n    statements: readonly FinancialStatements[];\n}","description":"The full reported history of one entity, restatements included: ordered by period end ascending,\nwith a restatement appearing as a SECOND record for the same period carrying its own\n`availableTimestampMs` and `restatementOf` provenance. Nothing is ever overwritten.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"entity","type":"string","description":"Optional entity label carried into diagnostics (a symbol, CIK, or internal id).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements","type":"readonly FinancialStatements[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#FundamentalSnapshot","name":"FundamentalSnapshot","kind":"interface","url":"/reference/totalfinance/fundamentals/page-2#FundamentalSnapshot","signature":"/**\n * The point-in-time view of a series: exactly the statement sets an observer at `asOf` could have\n * seen, one version per period under the stated restatement policy. This is what point-in-time\n * consumers (backtests, event studies, screens) iterate — never the raw series.\n */\nexport interface FundamentalSnapshot {\n    entity?: string;\n    asOf: number;\n    restatementPolicy: RestatementPolicy;\n    /** One resolved version per (periodType, periodEndDate), period end ascending. */\n    statements: readonly FinancialStatements[];\n}","description":"The point-in-time view of a series: exactly the statement sets an observer at `asOf` could have\nseen, one version per period under the stated restatement policy. This is what point-in-time\nconsumers (backtests, event studies, screens) iterate — never the raw series.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"asOf","type":"number","description":"","optional":false,"defaultValue":null,"unit":"an instant: epoch milliseconds or a YYYY-MM-DD / zoned ISO string (the resolveAsOf convention)"},{"name":"entity","type":"string","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"restatementPolicy","type":"RestatementPolicy","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements","type":"readonly FinancialStatements[]","description":"One resolved version per (periodType, periodEndDate), period end ascending.","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#IncomeStatement","name":"IncomeStatement","kind":"interface","url":"/reference/totalfinance/fundamentals/page-2#IncomeStatement","signature":"// ---------------------------------------------------------------------------------------------------\n// Contracts\n// ---------------------------------------------------------------------------------------------------\n/** One reported income statement (flows over the period). */\nexport interface IncomeStatement {\n    period: FundamentalPeriod;\n    revenue: number;\n    /** Positive magnitude. */\n    costOfRevenue?: number;\n    /** Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so. */\n    grossProfit?: number;\n    /** Positive magnitude of total operating expenses below gross profit. */\n    operatingExpenses?: number;\n    operatingIncome: number;\n    /** Positive magnitude. */\n    interestExpense?: number;\n    /** Positive magnitude (a net tax benefit is a negative amount and is stated as such). */\n    incomeTaxExpense?: number;\n    netIncome: number;\n    /** When reported separately from `netIncome` (the Beneish accrual basis prefers it). */\n    incomeFromContinuingOperations?: number;\n    /** Positive magnitude (Beneish SGAI consumes it). */\n    sellingGeneralAdministrativeExpense?: number;\n    /** Split-adjusted weighted-average diluted shares for the period. */\n    dilutedSharesOutstanding?: number;\n    /** Source-specific extras, preserved verbatim and never consumed by compute functions. */\n    metadata?: Record<string, unknown>;\n}","description":"One reported income statement (flows over the period).","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"netIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"operatingIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"period","type":"FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"revenue","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#IncomeStatementRatioInput","name":"IncomeStatementRatioInput","kind":"type","url":"/reference/totalfinance/fundamentals/page-2#IncomeStatementRatioInput","signature":"/** Income-only formulas: use the actual income statement or the existing complete set. */\nexport type IncomeStatementRatioInput<Facts extends Pick<IncomeStatement, 'period'> = IncomeStatement> = (SingleStatementRatioInput & {\n    income?: never;\n}) | {\n    income: Facts & Partial<IncomeStatement>;\n    statements?: never;\n};","description":"Income-only formulas: use the actual income statement or the existing complete set.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"income","type":"Facts & Partial<IncomeStatement>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.netIncome","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.operatingIncome","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"income.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"income.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"income.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"income.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"income.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"income.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"income.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"income.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.revenue","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements","type":"never","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#InvestedCapitalRatioInput","name":"InvestedCapitalRatioInput","kind":"interface","url":"/reference/totalfinance/fundamentals/page-2#InvestedCapitalRatioInput","signature":"/** Return on invested capital: the pair plus an optional explicit tax rate. */\nexport interface InvestedCapitalRatioInput extends PairRatioInput {\n    taxRate?: number;\n}","description":"Return on invested capital: the pair plus an optional explicit tax rate.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"current","type":"FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance","type":"BalanceSheet","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.cashAndCashEquivalents","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.balance.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.balance.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.balance.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.balance.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.totalAssets","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.totalEquity","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.totalLiabilities","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow","type":"import('@insiderfinance/totalfinance/fundamentals').CashFlowStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.acquisitions","type":"number","description":"Positive magnitude of cash spent on acquisitions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.capitalExpenditure","type":"number","description":"Positive magnitude of cash spent on property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.depreciationAndAmortization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.dividendsPaid","type":"number","description":"Positive magnitude of cash paid out as dividends.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.financingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.investingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.operatingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.cashFlow.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.cashFlow.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.cashFlow.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.cashFlow.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.shareRepurchases","type":"number","description":"Positive magnitude of cash spent repurchasing shares.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.stockBasedCompensation","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income","type":"IncomeStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.netIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.operatingIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.income.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.income.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.income.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.income.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.revenue","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior","type":"FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance","type":"BalanceSheet","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.cashAndCashEquivalents","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.balance.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.balance.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.balance.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.balance.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.totalAssets","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.totalEquity","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.totalLiabilities","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow","type":"import('@insiderfinance/totalfinance/fundamentals').CashFlowStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.acquisitions","type":"number","description":"Positive magnitude of cash spent on acquisitions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.capitalExpenditure","type":"number","description":"Positive magnitude of cash spent on property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.depreciationAndAmortization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.dividendsPaid","type":"number","description":"Positive magnitude of cash paid out as dividends.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.financingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.investingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.operatingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.cashFlow.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.cashFlow.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.cashFlow.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.cashFlow.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.shareRepurchases","type":"number","description":"Positive magnitude of cash spent repurchasing shares.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.stockBasedCompensation","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income","type":"IncomeStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.netIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.operatingIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.income.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.income.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.income.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.income.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.revenue","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"taxRate","type":"number","description":"","optional":true,"defaultValue":null,"unit":"decimal rate (0.05 = 5%)"}]},{"id":"@insiderfinance/totalfinance/fundamentals#MarketMultipleRatioInput","name":"MarketMultipleRatioInput","kind":"interface","url":"/reference/totalfinance/fundamentals/page-2#MarketMultipleRatioInput","signature":"/** Market multiples: the market side plus the optional freshness bound. */\nexport interface MarketMultipleRatioInput extends SingleStatementRatioInput {\n    marketObservation: MarketObservation;\n    maximumStalenessMs?: number;\n}","description":"Market multiples: the market side plus the optional freshness bound.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"marketObservation","type":"MarketObservation","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"marketObservation.marketCapitalization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"marketObservation.observedTimestampMs","type":"number","description":"When the price was observed (epoch ms). Must not precede the fundamentals' availability.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"marketObservation.sharePrice","type":"number","description":"","optional":false,"defaultValue":null,"unit":"currency amount (the field or record currency)"},{"name":"marketObservation.sharesOutstanding","type":"number","description":"Split-adjusted shares consistent with `sharePrice`.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"maximumStalenessMs","type":"number","description":"","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"statements","type":"FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance","type":"BalanceSheet","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.cashAndCashEquivalents","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.balance.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.balance.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.balance.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.balance.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalAssets","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalEquity","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalLiabilities","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow","type":"import('@insiderfinance/totalfinance/fundamentals').CashFlowStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.acquisitions","type":"number","description":"Positive magnitude of cash spent on acquisitions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.capitalExpenditure","type":"number","description":"Positive magnitude of cash spent on property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.depreciationAndAmortization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.dividendsPaid","type":"number","description":"Positive magnitude of cash paid out as dividends.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.financingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.investingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.operatingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.cashFlow.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.cashFlow.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.cashFlow.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.cashFlow.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.shareRepurchases","type":"number","description":"Positive magnitude of cash spent repurchasing shares.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.stockBasedCompensation","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income","type":"IncomeStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.netIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.operatingIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.income.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.income.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.income.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.income.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.revenue","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#MarketObservation","name":"MarketObservation","kind":"interface","url":"/reference/totalfinance/fundamentals/page-2#MarketObservation","signature":"// ---------------------------------------------------------------------------------------------------\n// Market observation (a ratio input this package owns)\n// ---------------------------------------------------------------------------------------------------\n/**\n * The market side of a valuation multiple — a narrow structural view, not a market-data feed.\n * `marketCapitalization` may be given directly or derived as `sharePrice × sharesOutstanding`\n * (the derivation is disclosed).\n *\n * UNITS: market amounts are ABSOLUTE currency, not the statements' `monetaryScale`. The kernel\n * converts statement amounts to absolute currency before a multiple divides, and discloses the\n * conversion — a thousands-scale filing must not shift every multiple by 1,000×.\n */\nexport interface MarketObservation {\n    /** When the price was observed (epoch ms). Must not precede the fundamentals' availability. */\n    observedTimestampMs: EpochMs;\n    sharePrice: number;\n    /** Split-adjusted shares consistent with `sharePrice`. */\n    sharesOutstanding?: number;\n    marketCapitalization?: number;\n}","description":"The market side of a valuation multiple — a narrow structural view, not a market-data feed.\n`marketCapitalization` may be given directly or derived as `sharePrice × sharesOutstanding`\n(the derivation is disclosed).\n\nUNITS: market amounts are ABSOLUTE currency, not the statements' `monetaryScale`. The kernel\nconverts statement amounts to absolute currency before a multiple divides, and discloses the\nconversion — a thousands-scale filing must not shift every multiple by 1,000×.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"marketCapitalization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"observedTimestampMs","type":"number","description":"When the price was observed (epoch ms). Must not precede the fundamentals' availability.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"sharePrice","type":"number","description":"","optional":false,"defaultValue":null,"unit":"currency amount (the field or record currency)"},{"name":"sharesOutstanding","type":"number","description":"Split-adjusted shares consistent with `sharePrice`.","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#PairRatioInput","name":"PairRatioInput","kind":"interface","url":"/reference/totalfinance/fundamentals/page-2#PairRatioInput","signature":"/** Average-balance heads: the period being measured and the immediately prior period. */\nexport interface PairRatioInput {\n    current: FinancialStatements;\n    prior: FinancialStatements;\n}","description":"Average-balance heads: the period being measured and the immediately prior period.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"current","type":"FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance","type":"BalanceSheet","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.cashAndCashEquivalents","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.balance.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.balance.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.balance.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.balance.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.totalAssets","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.totalEquity","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.totalLiabilities","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow","type":"import('@insiderfinance/totalfinance/fundamentals').CashFlowStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.acquisitions","type":"number","description":"Positive magnitude of cash spent on acquisitions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.capitalExpenditure","type":"number","description":"Positive magnitude of cash spent on property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.depreciationAndAmortization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.dividendsPaid","type":"number","description":"Positive magnitude of cash paid out as dividends.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.financingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.investingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.operatingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.cashFlow.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.cashFlow.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.cashFlow.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.cashFlow.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.shareRepurchases","type":"number","description":"Positive magnitude of cash spent repurchasing shares.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.stockBasedCompensation","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income","type":"IncomeStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.netIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.operatingIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.income.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.income.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.income.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.income.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.revenue","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior","type":"FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance","type":"BalanceSheet","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.cashAndCashEquivalents","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.balance.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.balance.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.balance.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.balance.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.totalAssets","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.totalEquity","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.totalLiabilities","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow","type":"import('@insiderfinance/totalfinance/fundamentals').CashFlowStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.acquisitions","type":"number","description":"Positive magnitude of cash spent on acquisitions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.capitalExpenditure","type":"number","description":"Positive magnitude of cash spent on property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.depreciationAndAmortization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.dividendsPaid","type":"number","description":"Positive magnitude of cash paid out as dividends.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.financingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.investingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.operatingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.cashFlow.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.cashFlow.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.cashFlow.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.cashFlow.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.shareRepurchases","type":"number","description":"Positive magnitude of cash spent repurchasing shares.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.stockBasedCompensation","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income","type":"IncomeStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.netIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.operatingIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.income.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.income.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.income.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.income.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.revenue","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#PerShareFundamentalsInput","name":"PerShareFundamentalsInput","kind":"interface","url":"/reference/totalfinance/fundamentals/page-2#PerShareFundamentalsInput","signature":"// ---------------------------------------------------------------------------------------------------\n// perShareFundamentals\n// ---------------------------------------------------------------------------------------------------\n/** Input for {@link perShareFundamentals}. */\nexport interface PerShareFundamentalsInput {\n    statements: FinancialStatements;\n    /**\n     * Cumulative split factor between the period and the observer's share basis (e.g. `2` after a\n     * 2-for-1 split since the period end). Default `1` — no split; the factor used is echoed.\n     */\n    splitFactorSincePeriod?: number;\n}","description":"Input for {@link perShareFundamentals}.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"splitFactorSincePeriod","type":"number","description":"Cumulative split factor between the period and the observer's share basis (e.g. `2` after a\n2-for-1 split since the period end). Default `1` — no split; the factor used is echoed.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements","type":"FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance","type":"BalanceSheet","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.cashAndCashEquivalents","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period","type":"FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.balance.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.balance.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.balance.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.balance.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalAssets","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalEquity","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalLiabilities","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow","type":"CashFlowStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.acquisitions","type":"number","description":"Positive magnitude of cash spent on acquisitions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.capitalExpenditure","type":"number","description":"Positive magnitude of cash spent on property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.depreciationAndAmortization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.dividendsPaid","type":"number","description":"Positive magnitude of cash paid out as dividends.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.financingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.investingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.operatingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period","type":"FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.cashFlow.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.cashFlow.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.cashFlow.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.cashFlow.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.shareRepurchases","type":"number","description":"Positive magnitude of cash spent repurchasing shares.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.stockBasedCompensation","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income","type":"IncomeStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.netIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.operatingIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period","type":"FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.income.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.income.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.income.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.income.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.revenue","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#PerShareFundamentalsResult","name":"PerShareFundamentalsResult","kind":"interface","url":"/reference/totalfinance/fundamentals/page-2#PerShareFundamentalsResult","signature":"/** Result of {@link perShareFundamentals}. */\nexport interface PerShareFundamentalsResult {\n    assumptions: {\n        splitFactorSincePeriod: number;\n        dilutedSharesUsed: number;\n        /** Per-share values are ABSOLUTE currency per share (amount × monetaryScale / shares). */\n        unitBasis: 'absolute currency per share';\n    };\n    diagnostics: {\n        warnings: string[];\n    };\n    /** Split-adjusted diluted shares actually used as the denominator. */\n    dilutedSharesUsed: number;\n    splitFactorSincePeriod: number;\n    earningsPerShare: number;\n    revenuePerShare: number;\n    bookValuePerShare: number;\n    /** `operatingCashFlow - capitalExpenditure` per share; `null` when capex is absent. */\n    freeCashFlowPerShare: number | null;\n    freeCashFlowPerShareReason?: string;\n}","description":"Result of {@link perShareFundamentals}.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"assumptions","type":"{ dilutedSharesUsed: number; splitFactorSincePeriod: number; unitBasis: 'absolute currency per share'; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.dilutedSharesUsed","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.splitFactorSincePeriod","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.unitBasis","type":"'absolute currency per share'","description":"Per-share values are ABSOLUTE currency per share (amount × monetaryScale / shares).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"bookValuePerShare","type":"number","description":"","optional":false,"defaultValue":null,"unit":"decimal fraction / multiple"},{"name":"diagnostics","type":"{ warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"dilutedSharesUsed","type":"number","description":"Split-adjusted diluted shares actually used as the denominator.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"earningsPerShare","type":"number","description":"","optional":false,"defaultValue":null,"unit":"decimal fraction / multiple"},{"name":"freeCashFlowPerShare","type":"number | null","description":"`operatingCashFlow - capitalExpenditure` per share; `null` when capex is absent.","optional":false,"defaultValue":null,"unit":"decimal fraction / multiple"},{"name":"freeCashFlowPerShareReason","type":"string","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"revenuePerShare","type":"number","description":"","optional":false,"defaultValue":null,"unit":"decimal fraction / multiple"},{"name":"splitFactorSincePeriod","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#PiotroskiInput","name":"PiotroskiInput","kind":"interface","url":"/reference/totalfinance/fundamentals/page-2#PiotroskiInput","signature":"// ---------------------------------------------------------------------------------------------------\n// Piotroski F-score\n// ---------------------------------------------------------------------------------------------------\n/** Input for {@link piotroskiFScore}: three consecutive periods of one entity. */\nexport interface PiotroskiInput {\n    current: FinancialStatements;\n    prior: FinancialStatements;\n    /**\n     * The period before `prior`. Needed because the paper's return and turnover use BEGINNING\n     * assets, so the prior year's own signal needs the balance sheet one further back.\n     */\n    priorPrior: FinancialStatements;\n}","description":"Input for {@link piotroskiFScore}: three consecutive periods of one entity.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"current","type":"FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance","type":"import('@insiderfinance/totalfinance/fundamentals').BalanceSheet","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.cashAndCashEquivalents","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.balance.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.balance.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.balance.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.balance.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.totalAssets","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.totalEquity","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.totalLiabilities","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow","type":"import('@insiderfinance/totalfinance/fundamentals').CashFlowStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.acquisitions","type":"number","description":"Positive magnitude of cash spent on acquisitions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.capitalExpenditure","type":"number","description":"Positive magnitude of cash spent on property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.depreciationAndAmortization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.dividendsPaid","type":"number","description":"Positive magnitude of cash paid out as dividends.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.financingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.investingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.operatingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.cashFlow.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.cashFlow.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.cashFlow.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.cashFlow.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.shareRepurchases","type":"number","description":"Positive magnitude of cash spent repurchasing shares.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.stockBasedCompensation","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income","type":"import('@insiderfinance/totalfinance/fundamentals').IncomeStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.netIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.operatingIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.income.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.income.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.income.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.income.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.revenue","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior","type":"FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance","type":"import('@insiderfinance/totalfinance/fundamentals').BalanceSheet","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.cashAndCashEquivalents","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.balance.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.balance.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.balance.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.balance.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.totalAssets","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.totalEquity","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.totalLiabilities","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow","type":"import('@insiderfinance/totalfinance/fundamentals').CashFlowStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.acquisitions","type":"number","description":"Positive magnitude of cash spent on acquisitions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.capitalExpenditure","type":"number","description":"Positive magnitude of cash spent on property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.depreciationAndAmortization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.dividendsPaid","type":"number","description":"Positive magnitude of cash paid out as dividends.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.financingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.investingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.operatingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.cashFlow.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.cashFlow.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.cashFlow.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.cashFlow.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.shareRepurchases","type":"number","description":"Positive magnitude of cash spent repurchasing shares.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.stockBasedCompensation","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income","type":"import('@insiderfinance/totalfinance/fundamentals').IncomeStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.netIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.operatingIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.income.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.income.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.income.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.income.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.revenue","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior","type":"FinancialStatements","description":"The period before `prior`. Needed because the paper's return and turnover use BEGINNING\nassets, so the prior year's own signal needs the balance sheet one further back.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.balance","type":"import('@insiderfinance/totalfinance/fundamentals').BalanceSheet","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.balance.cashAndCashEquivalents","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.balance.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.balance.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"priorPrior.balance.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.balance.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"priorPrior.balance.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.balance.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.balance.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.balance.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.balance.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"priorPrior.balance.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"priorPrior.balance.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.balance.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.balance.totalAssets","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.balance.totalEquity","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.balance.totalLiabilities","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.cashFlow","type":"import('@insiderfinance/totalfinance/fundamentals').CashFlowStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.cashFlow.acquisitions","type":"number","description":"Positive magnitude of cash spent on acquisitions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.cashFlow.capitalExpenditure","type":"number","description":"Positive magnitude of cash spent on property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.cashFlow.depreciationAndAmortization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.cashFlow.dividendsPaid","type":"number","description":"Positive magnitude of cash paid out as dividends.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.cashFlow.financingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.cashFlow.investingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.cashFlow.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.cashFlow.operatingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.cashFlow.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.cashFlow.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.cashFlow.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"priorPrior.cashFlow.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.cashFlow.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"priorPrior.cashFlow.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.cashFlow.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.cashFlow.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.cashFlow.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.cashFlow.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"priorPrior.cashFlow.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"priorPrior.cashFlow.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.cashFlow.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.cashFlow.shareRepurchases","type":"number","description":"Positive magnitude of cash spent repurchasing shares.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.cashFlow.stockBasedCompensation","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.income","type":"import('@insiderfinance/totalfinance/fundamentals').IncomeStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.income.netIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.income.operatingIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.income.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.income.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"priorPrior.income.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.income.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"priorPrior.income.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.income.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.income.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.income.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.income.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"priorPrior.income.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"priorPrior.income.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.income.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.income.revenue","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorPrior.income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#PiotroskiResult","name":"PiotroskiResult","kind":"interface","url":"/reference/totalfinance/fundamentals/page-2#PiotroskiResult","signature":"/** Result of {@link piotroskiFScore}. */\nexport interface PiotroskiResult {\n    assumptions: {\n        /** The published model name (a label, deliberately not a literal type). */\n        model: string;\n        /** Returns and turnover use BEGINNING total assets, per the paper. */\n        returnBasis: 'beginning total assets';\n    };\n    diagnostics: {\n        /** One warning per unevaluable signal. */\n        warnings: string[];\n    };\n    /** Sum of the evaluable signals (each 0 or 1). */\n    fScore: number;\n    /** How many of the nine signals could be evaluated; 9 when every input line was present. */\n    evaluableSignals: number;\n    signals: PiotroskiSignal[];\n}","description":"Result of {@link piotroskiFScore}.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"assumptions","type":"{ model: string; returnBasis: 'beginning total assets'; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.model","type":"string","description":"The published model name (a label, deliberately not a literal type).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.returnBasis","type":"'beginning total assets'","description":"Returns and turnover use BEGINNING total assets, per the paper.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"diagnostics","type":"{ warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"diagnostics.warnings","type":"string[]","description":"One warning per unevaluable signal.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"evaluableSignals","type":"number","description":"How many of the nine signals could be evaluated; 9 when every input line was present.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"fScore","type":"number","description":"Sum of the evaluable signals (each 0 or 1).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"signals","type":"PiotroskiSignal[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#PiotroskiSignal","name":"PiotroskiSignal","kind":"interface","url":"/reference/totalfinance/fundamentals/page-2#PiotroskiSignal","signature":"/** One of the nine binary signals. */\nexport interface PiotroskiSignal {\n    signal: string;\n    /** 1 or 0 per the paper; `null` with `reason` when an optional statement line is absent. */\n    value: 0 | 1 | null;\n    detail: string;\n    reason?: string;\n}","description":"One of the nine binary signals.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"detail","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"reason","type":"string","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"signal","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"value","type":"0 | 1 | null","description":"1 or 0 per the paper; `null` with `reason` when an optional statement line is absent.","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#RatioCategory","name":"RatioCategory","kind":"type","url":"/reference/totalfinance/fundamentals/page-2#RatioCategory","signature":"// ---------------------------------------------------------------------------------------------------\n// Report shape\n// ---------------------------------------------------------------------------------------------------\nexport type RatioCategory = 'profitability' | 'returns' | 'liquidity' | 'leverage' | 'efficiency' | 'quality' | 'per-share' | 'valuation';","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[]},{"id":"@insiderfinance/totalfinance/fundamentals#RatioFacade","name":"RatioFacade","kind":"interface","url":"/reference/totalfinance/fundamentals/page-2#RatioFacade","signature":"/**\n * A ratio head: plain value + `.explain`. The DECLARED input is the head's exact shape — the\n * declaration never licenses a key the runtime refuses (the shared bag stays kernel-internal).\n */\nexport interface RatioFacade<Input extends object = RatioInput> {\n    (input: Input): number | null;\n    explain(input: Input): RatioReport;\n}","description":"A ratio head: plain value + `.explain`. The DECLARED input is the head's exact shape — the\ndeclaration never licenses a key the runtime refuses (the shared bag stays kernel-internal).","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"Input","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: Input) => RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: RatioCategory; conventionsVersion: string; formula: string; period: RatioPeriodIdentity; priorPeriod?: RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"Input","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#RatioInput","name":"RatioInput","kind":"interface","url":"/reference/totalfinance/fundamentals/page-2#RatioInput","signature":"// ---------------------------------------------------------------------------------------------------\n// The maker\n// ---------------------------------------------------------------------------------------------------\n/** Common inputs a ratio head can declare. */\nexport interface RatioInput {\n    /** Single-period heads. */\n    statements?: FinancialStatements;\n    /** Additive direct path for an income-only formula. */\n    income?: IncomeStatement;\n    /** Additive direct path for a balance-only formula. */\n    balance?: BalanceSheet;\n    /** Average-denominator heads: the period being measured… */\n    current?: FinancialStatements;\n    /** …and the immediately prior period (average balances need both endpoints). */\n    prior?: FinancialStatements;\n    /** Day-count heads: the explicit number of days in the period (never guessed from periodType). */\n    periodDays?: number;\n    /** Market-multiple heads. */\n    marketObservation?: MarketObservation;\n    /** Market-multiple heads: reject a price observed more than this after availability. */\n    maximumStalenessMs?: number;\n    /** ROIC: explicit tax rate; when absent the effective rate is derived and disclosed. */\n    taxRate?: number;\n    /** debtServiceCoverage: the exact debt-service denominator (interest + scheduled principal). */\n    debtServiceAmount?: number;\n    /** Enterprise-value heads: separately supplied non-operating assets. */\n    nonOperatingAssets?: number;\n}","description":"Common inputs a ratio head can declare.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"balance","type":"BalanceSheet","description":"Additive direct path for a balance-only formula.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.cashAndCashEquivalents","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"balance.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"balance.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"balance.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"balance.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.totalAssets","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.totalEquity","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"balance.totalLiabilities","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current","type":"FinancialStatements","description":"Average-denominator heads: the period being measured…","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance","type":"BalanceSheet","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.cashAndCashEquivalents","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.balance.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.balance.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.balance.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.balance.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.totalAssets","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.totalEquity","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.balance.totalLiabilities","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow","type":"import('@insiderfinance/totalfinance/fundamentals').CashFlowStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.acquisitions","type":"number","description":"Positive magnitude of cash spent on acquisitions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.capitalExpenditure","type":"number","description":"Positive magnitude of cash spent on property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.depreciationAndAmortization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.dividendsPaid","type":"number","description":"Positive magnitude of cash paid out as dividends.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.financingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.investingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.operatingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.cashFlow.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.cashFlow.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.cashFlow.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.cashFlow.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.shareRepurchases","type":"number","description":"Positive magnitude of cash spent repurchasing shares.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.cashFlow.stockBasedCompensation","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income","type":"IncomeStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.netIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.operatingIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.income.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"current.income.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.income.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"current.income.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.revenue","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"current.income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"debtServiceAmount","type":"number","description":"debtServiceCoverage: the exact debt-service denominator (interest + scheduled principal).","optional":true,"defaultValue":null,"unit":"currency amount (the field or record currency)"},{"name":"income","type":"IncomeStatement","description":"Additive direct path for an income-only formula.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.netIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.operatingIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"income.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"income.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"income.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"income.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"income.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"income.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"income.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"income.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"income.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"income.revenue","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"marketObservation","type":"MarketObservation","description":"Market-multiple heads.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"marketObservation.marketCapitalization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"marketObservation.observedTimestampMs","type":"number","description":"When the price was observed (epoch ms). Must not precede the fundamentals' availability.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"marketObservation.sharePrice","type":"number","description":"","optional":false,"defaultValue":null,"unit":"currency amount (the field or record currency)"},{"name":"marketObservation.sharesOutstanding","type":"number","description":"Split-adjusted shares consistent with `sharePrice`.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"maximumStalenessMs","type":"number","description":"Market-multiple heads: reject a price observed more than this after availability.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"nonOperatingAssets","type":"number","description":"Enterprise-value heads: separately supplied non-operating assets.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"periodDays","type":"number","description":"Day-count heads: the explicit number of days in the period (never guessed from periodType).","optional":true,"defaultValue":null,"unit":"days"},{"name":"prior","type":"FinancialStatements","description":"…and the immediately prior period (average balances need both endpoints).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance","type":"BalanceSheet","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.cashAndCashEquivalents","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.balance.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.balance.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.balance.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.balance.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.totalAssets","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.totalEquity","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.balance.totalLiabilities","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow","type":"import('@insiderfinance/totalfinance/fundamentals').CashFlowStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.acquisitions","type":"number","description":"Positive magnitude of cash spent on acquisitions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.capitalExpenditure","type":"number","description":"Positive magnitude of cash spent on property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.depreciationAndAmortization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.dividendsPaid","type":"number","description":"Positive magnitude of cash paid out as dividends.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.financingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.investingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.operatingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.cashFlow.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.cashFlow.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.cashFlow.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.cashFlow.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.shareRepurchases","type":"number","description":"Positive magnitude of cash spent repurchasing shares.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.cashFlow.stockBasedCompensation","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income","type":"IncomeStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.netIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.operatingIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.income.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"prior.income.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.income.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"prior.income.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.revenue","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"prior.income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements","type":"FinancialStatements","description":"Single-period heads.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance","type":"BalanceSheet","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.cashAndCashEquivalents","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.balance.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.balance.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.balance.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.balance.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalAssets","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalEquity","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalLiabilities","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow","type":"import('@insiderfinance/totalfinance/fundamentals').CashFlowStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.acquisitions","type":"number","description":"Positive magnitude of cash spent on acquisitions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.capitalExpenditure","type":"number","description":"Positive magnitude of cash spent on property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.depreciationAndAmortization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.dividendsPaid","type":"number","description":"Positive magnitude of cash paid out as dividends.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.financingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.investingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.operatingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.cashFlow.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.cashFlow.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.cashFlow.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.cashFlow.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.shareRepurchases","type":"number","description":"Positive magnitude of cash spent repurchasing shares.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.stockBasedCompensation","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income","type":"IncomeStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.netIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.operatingIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.income.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.income.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.income.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.income.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.revenue","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"taxRate","type":"number","description":"ROIC: explicit tax rate; when absent the effective rate is derived and disclosed.","optional":true,"defaultValue":null,"unit":"decimal rate (0.05 = 5%)"}]},{"id":"@insiderfinance/totalfinance/fundamentals#RatioPeriodIdentity","name":"RatioPeriodIdentity","kind":"interface","url":"/reference/totalfinance/fundamentals/page-2#RatioPeriodIdentity","signature":"/** The identity of the period a ratio was computed over. */\nexport interface RatioPeriodIdentity {\n    periodEndDate: string;\n    periodType: string;\n    fiscalYear: number;\n    currency: string;\n    monetaryScale: number;\n    /** Direct statement availability, or the latest availability in a complete validated set. */\n    availableTimestampMs?: EpochMs;\n}","description":"The identity of the period a ratio was computed over.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"availableTimestampMs","type":"number","description":"Direct statement availability, or the latest availability in a complete validated set.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"currency","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"monetaryScale","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"periodEndDate","type":"string","description":"","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"periodType","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#RatioReport","name":"RatioReport","kind":"interface","url":"/reference/totalfinance/fundamentals/page-3#RatioReport","signature":"/** What `.explain()` returns for every ratio head — the ONE `Computed` envelope (dx §7.2). */\nexport interface RatioReport {\n    /** A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`. */\n    value: number | null;\n    assumptions: {\n        conventionsVersion: string;\n        ratioName: string;\n        category: RatioCategory;\n        /** The fixed formula, stated as prose (also in the generated reference documentation). */\n        formula: string;\n        period: RatioPeriodIdentity;\n        priorPeriod?: RatioPeriodIdentity;\n    };\n    diagnostics: {\n        warnings: string[];\n        numerator: {\n            label: string;\n            amount: number;\n        } | null;\n        denominator: {\n            label: string;\n            amount: number;\n        } | null;\n        /** Every derivation, omission, and convention the computation relied on. */\n        notes: string[];\n        /** Present exactly when `value` is null. */\n        reason?: string;\n        /** For market multiples: how far the price sits after the fundamentals became available. */\n        marketStalenessMs?: number;\n    };\n}","description":"What `.explain()` returns for every ratio head — the ONE `Computed` envelope (dx §7.2).","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"assumptions","type":"{ category: RatioCategory; conventionsVersion: string; formula: string; period: RatioPeriodIdentity; priorPeriod?: RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.category","type":"RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.period","type":"RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.period.availableTimestampMs","type":"number","description":"Direct statement availability, or the latest availability in a complete validated set.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"assumptions.period.currency","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.period.monetaryScale","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.period.periodEndDate","type":"string","description":"","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"assumptions.period.periodType","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.priorPeriod","type":"RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.priorPeriod.availableTimestampMs","type":"number","description":"Direct statement availability, or the latest availability in a complete validated set.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"assumptions.priorPeriod.currency","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.priorPeriod.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.priorPeriod.monetaryScale","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.priorPeriod.periodEndDate","type":"string","description":"","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"assumptions.priorPeriod.periodType","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#RawFundamentalsRecord","name":"RawFundamentalsRecord","kind":"interface","url":"/reference/totalfinance/fundamentals/page-3#RawFundamentalsRecord","signature":"/**\n * The RAW provider-fundamentals record — an explicitly raw/open DATA-EDGE artifact (FC0). A\n * vendor's untyped field bag survives ONLY here; compute functions never read `fields`. Typed\n * analysis attaches to `@insiderfinance/totalfinance/fundamentals`' `FundamentalPeriod` declarations, and a data\n * adapter's job is to map one of these raw records into them with the availability instant\n * carried honestly. (Relocation-by-rename of the former generic `Fundamentals`, pre-1.0, no\n * alias.)\n */\nexport interface RawFundamentalsRecord {\n    symbol: SymbolId;\n    /** Vendor's own period label, verbatim (e.g. `'Q1 2026'`, `'FY25'`). */\n    fiscalPeriod?: string;\n    /** When the vendor says the record is as-of, when known. */\n    asOf?: EpochMs;\n    /** The vendor's untyped field bag — data-edge only, never a compute input. */\n    fields: Record<string, number | string | null>;\n}","description":"The RAW provider-fundamentals record — an explicitly raw/open DATA-EDGE artifact (FC0). A\nvendor's untyped field bag survives ONLY here; compute functions never read `fields`. Typed\nanalysis attaches to `@insiderfinance/totalfinance/fundamentals`' `FundamentalPeriod` declarations, and a data\nadapter's job is to map one of these raw records into them with the availability instant\ncarried honestly. (Relocation-by-rename of the former generic `Fundamentals`, pre-1.0, no\nalias.)","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"asOf","type":"number","description":"When the vendor says the record is as-of, when known.","optional":true,"defaultValue":null,"unit":"an instant: epoch milliseconds or a YYYY-MM-DD / zoned ISO string (the resolveAsOf convention)"},{"name":"fields","type":"Record<string, string | number | null>","description":"The vendor's untyped field bag — data-edge only, never a compute input.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"fiscalPeriod","type":"string","description":"Vendor's own period label, verbatim (e.g. `'Q1 2026'`, `'FY25'`).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"symbol","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#ReconcileStatementsInput","name":"ReconcileStatementsInput","kind":"interface","url":"/reference/totalfinance/fundamentals/page-3#ReconcileStatementsInput","signature":"// ---------------------------------------------------------------------------------------------------\n// reconcileFinancialStatements\n// ---------------------------------------------------------------------------------------------------\n/** Input for {@link reconcileFinancialStatements}. */\nexport interface ReconcileStatementsInput {\n    statements: FinancialStatements;\n    /** The immediately prior period, enabling the cash-articulation check across the two. */\n    priorStatements?: FinancialStatements;\n    /**\n     * Absolute tolerance in reported units (period.monetaryScale). Default `1` — one reported unit,\n     * the rounding a scaled filing can legitimately carry. Documented and echoed in the result.\n     */\n    toleranceAmount?: number;\n}","description":"Input for {@link reconcileFinancialStatements}.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"priorStatements","type":"FinancialStatements","description":"The immediately prior period, enabling the cash-articulation check across the two.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.balance","type":"BalanceSheet","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.balance.cashAndCashEquivalents","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.balance.period","type":"FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.balance.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.balance.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"priorStatements.balance.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.balance.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"priorStatements.balance.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.balance.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.balance.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.balance.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.balance.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"priorStatements.balance.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"priorStatements.balance.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.balance.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.balance.totalAssets","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.balance.totalEquity","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.balance.totalLiabilities","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.cashFlow","type":"CashFlowStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.cashFlow.acquisitions","type":"number","description":"Positive magnitude of cash spent on acquisitions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.cashFlow.capitalExpenditure","type":"number","description":"Positive magnitude of cash spent on property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.cashFlow.depreciationAndAmortization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.cashFlow.dividendsPaid","type":"number","description":"Positive magnitude of cash paid out as dividends.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.cashFlow.financingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.cashFlow.investingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.cashFlow.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.cashFlow.operatingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.cashFlow.period","type":"FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.cashFlow.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.cashFlow.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"priorStatements.cashFlow.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.cashFlow.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"priorStatements.cashFlow.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.cashFlow.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.cashFlow.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.cashFlow.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.cashFlow.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"priorStatements.cashFlow.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"priorStatements.cashFlow.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.cashFlow.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.cashFlow.shareRepurchases","type":"number","description":"Positive magnitude of cash spent repurchasing shares.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.cashFlow.stockBasedCompensation","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.income","type":"IncomeStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.income.netIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.income.operatingIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.income.period","type":"FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.income.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.income.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"priorStatements.income.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.income.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"priorStatements.income.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.income.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.income.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.income.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.income.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"priorStatements.income.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"priorStatements.income.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.income.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.income.revenue","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"priorStatements.income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements","type":"FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance","type":"BalanceSheet","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.cashAndCashEquivalents","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period","type":"FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.balance.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.balance.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.balance.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.balance.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalAssets","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalEquity","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalLiabilities","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow","type":"CashFlowStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.acquisitions","type":"number","description":"Positive magnitude of cash spent on acquisitions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.capitalExpenditure","type":"number","description":"Positive magnitude of cash spent on property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.depreciationAndAmortization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.dividendsPaid","type":"number","description":"Positive magnitude of cash paid out as dividends.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.financingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.investingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.operatingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period","type":"FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.cashFlow.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.cashFlow.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.cashFlow.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.cashFlow.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.shareRepurchases","type":"number","description":"Positive magnitude of cash spent repurchasing shares.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.stockBasedCompensation","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income","type":"IncomeStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.netIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.operatingIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period","type":"FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.income.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.income.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.income.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.income.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.revenue","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"toleranceAmount","type":"number","description":"Absolute tolerance in reported units (period.monetaryScale). Default `1` — one reported unit,\nthe rounding a scaled filing can legitimately carry. Documented and echoed in the result.","optional":true,"defaultValue":null,"unit":"currency amount (the field or record currency)"}]},{"id":"@insiderfinance/totalfinance/fundamentals#ReconciliationCheck","name":"ReconciliationCheck","kind":"interface","url":"/reference/totalfinance/fundamentals/page-3#ReconciliationCheck","signature":"/** One accounting-identity check. */\nexport interface ReconciliationCheck {\n    name: string;\n    /** `left - right` in reported units; `null` when a required field is absent. */\n    difference: number | null;\n    withinTolerance: boolean | null;\n    detail: string;\n}","description":"One accounting-identity check.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"detail","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"difference","type":"number | null","description":"`left - right` in reported units; `null` when a required field is absent.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"name","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"withinTolerance","type":"boolean | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#ReconciliationResult","name":"ReconciliationResult","kind":"interface","url":"/reference/totalfinance/fundamentals/page-3#ReconciliationResult","signature":"/** Result of {@link reconcileFinancialStatements}. */\nexport interface ReconciliationResult {\n    assumptions: {\n        /** Absolute tolerance in reported units, echoed (default 1). */\n        toleranceAmount: number;\n    };\n    diagnostics: {\n        /** One warning per failed or unevaluable check. */\n        warnings: string[];\n    };\n    checks: ReconciliationCheck[];\n    toleranceAmount: number;\n    /** True when every evaluable check is within tolerance. */\n    reconciles: boolean;\n}","description":"Result of {@link reconcileFinancialStatements}.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"assumptions","type":"{ toleranceAmount: number; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"assumptions.toleranceAmount","type":"number","description":"Absolute tolerance in reported units, echoed (default 1).","optional":false,"defaultValue":null,"unit":"currency amount (the field or record currency)"},{"name":"checks","type":"ReconciliationCheck[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"diagnostics","type":"{ warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"diagnostics.warnings","type":"string[]","description":"One warning per failed or unevaluable check.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"reconciles","type":"boolean","description":"True when every evaluable check is within tolerance.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"toleranceAmount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"currency amount (the field or record currency)"}]},{"id":"@insiderfinance/totalfinance/fundamentals#RestatementPolicy","name":"RestatementPolicy","kind":"type","url":"/reference/totalfinance/fundamentals/page-3#RestatementPolicy","signature":"/** How {@link selectFundamentalSnapshot} resolves multiple visible versions of one period. */\nexport type RestatementPolicy = 'latest-available' | 'first-reported';","description":"How {@link selectFundamentalSnapshot } resolves multiple visible versions of one period.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[]},{"id":"@insiderfinance/totalfinance/fundamentals#SelectFundamentalSnapshotInput","name":"SelectFundamentalSnapshotInput","kind":"interface","url":"/reference/totalfinance/fundamentals/page-3#SelectFundamentalSnapshotInput","signature":"// ---------------------------------------------------------------------------------------------------\n// selectFundamentalSnapshot\n// ---------------------------------------------------------------------------------------------------\n/** Input for {@link selectFundamentalSnapshot}. */\nexport interface SelectFundamentalSnapshotInput {\n    series: FundamentalSeries;\n    /** The observation instant (epoch ms). Only sets whose availability is at or before it qualify. */\n    asOf: EpochMs;\n    /** How multiple visible versions of one period resolve. */\n    restatementPolicy: RestatementPolicy;\n}","description":"Input for {@link selectFundamentalSnapshot}.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"asOf","type":"number","description":"The observation instant (epoch ms). Only sets whose availability is at or before it qualify.","optional":false,"defaultValue":null,"unit":"an instant: epoch milliseconds or a YYYY-MM-DD / zoned ISO string (the resolveAsOf convention)"},{"name":"restatementPolicy","type":"RestatementPolicy","description":"How multiple visible versions of one period resolve.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"series","type":"FundamentalSeries","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"series.entity","type":"string","description":"Optional entity label carried into diagnostics (a symbol, CIK, or internal id).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"series.statements","type":"readonly FinancialStatements[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#SingleStatementRatioInput","name":"SingleStatementRatioInput","kind":"interface","url":"/reference/totalfinance/fundamentals/page-3#SingleStatementRatioInput","signature":"/** Single-period heads. */\nexport interface SingleStatementRatioInput {\n    statements: FinancialStatements;\n}","description":"Single-period heads.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"statements","type":"FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance","type":"BalanceSheet","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.cashAndCashEquivalents","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.balance.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.balance.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.balance.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.balance.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalAssets","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalEquity","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.balance.totalLiabilities","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow","type":"import('@insiderfinance/totalfinance/fundamentals').CashFlowStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.acquisitions","type":"number","description":"Positive magnitude of cash spent on acquisitions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.capitalExpenditure","type":"number","description":"Positive magnitude of cash spent on property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.depreciationAndAmortization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.dividendsPaid","type":"number","description":"Positive magnitude of cash paid out as dividends.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.financingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.investingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.operatingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.cashFlow.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.cashFlow.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.cashFlow.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.cashFlow.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.shareRepurchases","type":"number","description":"Positive magnitude of cash spent repurchasing shares.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.cashFlow.stockBasedCompensation","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income","type":"IncomeStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.netIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.operatingIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.income.period.currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"statements.income.period.fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.income.period.periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"statements.income.period.periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.period.restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.revenue","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"statements.income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#TrailingTwelveMonthInput","name":"TrailingTwelveMonthInput","kind":"interface","url":"/reference/totalfinance/fundamentals/page-3#TrailingTwelveMonthInput","signature":"// ---------------------------------------------------------------------------------------------------\n// trailingTwelveMonthStatements\n// ---------------------------------------------------------------------------------------------------\n/** Input for {@link trailingTwelveMonthStatements}. */\nexport interface TrailingTwelveMonthInput {\n    /** Exactly four consecutive fiscal quarters, period end ascending. */\n    statements: readonly FinancialStatements[];\n}","description":"Input for {@link trailingTwelveMonthStatements}.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"statements","type":"readonly FinancialStatements[]","description":"Exactly four consecutive fiscal quarters, period end ascending.","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#accrualRatio","name":"accrualRatio","kind":"function","url":"/reference/totalfinance/fundamentals/page-3#accrualRatio","signature":"export declare const accrualRatio: RatioFacade<PairRatioInput>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"PairRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).current","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).prior","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: PairRatioInput) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"PairRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).current","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).prior","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#altmanZScore","name":"altmanZScore","kind":"function","url":"/reference/totalfinance/fundamentals/page-3#altmanZScore","signature":"export declare function altmanZScore(input: AltmanInput): AltmanResult;","description":"The Altman Z-score with the published coefficients and denominator definitions per variant.\n`X1` working capital / assets, `X2` retained earnings / assets, `X3` operating income / assets,\n`X4` the variant's equity basis / total liabilities, `X5` sales / assets where the variant has\none. The variant is REQUIRED — there is no default bankruptcy model.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"AltmanInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).marketEquity","type":"number","description":"REQUIRED for `public-manufacturing` (its X4 uses market equity); rejected otherwise.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).statements","type":"FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).variant","type":"AltmanVariant","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.assumptions","type":"{ equityBasis: 'market' | 'book'; model: string; variant: AltmanVariant; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.assumptions.equityBasis","type":"'market' | 'book'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.assumptions.model","type":"string","description":"The published model name (a label, deliberately not a literal type).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.assumptions.variant","type":"AltmanVariant","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.components","type":"AltmanComponent[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.diagnostics","type":"{ warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.variant","type":"AltmanVariant","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.zScore","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#analyzeFundamentals","name":"analyzeFundamentals","kind":"function","url":"/reference/totalfinance/fundamentals/page-3#analyzeFundamentals","signature":"export declare function analyzeFundamentals(input: AnalyzeFundamentalsInput): AnalyzeFundamentalsResult;","description":"The one-call analysis. Missing inputs disable exactly the metrics that need them, each with a\nstated reason; nothing is guessed, proxied, or silently skipped.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"AnalyzeFundamentalsInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).altmanVariant","type":"AltmanVariant","description":"Runs the Altman Z-score under this explicit published variant; absent → reported missing.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).asOf","type":"number","description":"","optional":false,"defaultValue":null,"unit":"an instant: epoch milliseconds or a YYYY-MM-DD / zoned ISO string (the resolveAsOf convention)"},{"name":"(input).debtServiceAmount","type":"number","description":"The exact debt-service denominator; absent → debtServiceCoverage is reported missing.","optional":true,"defaultValue":null,"unit":"currency amount (the field or record currency)"},{"name":"(input).marketSnapshot","type":"MarketObservation","description":"The market side for valuation multiples; without it they are reported missing, not guessed.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).maximumStalenessMs","type":"number","description":"Bounds market-observation staleness for the multiples when supplied.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"(input).nonOperatingAssets","type":"number","description":"Separately supplied non-operating assets for enterprise value.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).periodDays","type":"number","description":"Day metrics need the explicit period-day count; absent → they are reported missing.","optional":true,"defaultValue":null,"unit":"days"},{"name":"(input).restatementPolicy","type":"RestatementPolicy","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).statements","type":"readonly FinancialStatements[]","description":"The reported history (restatements included) — the analysis sees only what `asOf` allows.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).taxRate","type":"number","description":"Explicit tax rate for return on invested capital; else the effective rate is derived.","optional":true,"defaultValue":null,"unit":"decimal rate (0.05 = 5%)"},{"name":"return.asOf","type":"number","description":"","optional":false,"defaultValue":null,"unit":"an instant: epoch milliseconds or a YYYY-MM-DD / zoned ISO string (the resolveAsOf convention)"},{"name":"return.assumptions","type":"{ asOf: EpochMs; periodUsed: { periodEndDate: string; periodType: string; fiscalYear: number; }; priorPeriodUsed?: { periodEndDate: string; periodType: string; fiscalYear: number; }; restatementPolicy: RestatementPolicy; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.assumptions.asOf","type":"number","description":"","optional":false,"defaultValue":null,"unit":"an instant: epoch milliseconds or a YYYY-MM-DD / zoned ISO string (the resolveAsOf convention)"},{"name":"return.assumptions.periodUsed","type":"{ fiscalYear: number; periodEndDate: string; periodType: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.assumptions.periodUsed.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.assumptions.periodUsed.periodEndDate","type":"string","description":"","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"return.assumptions.periodUsed.periodType","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.assumptions.priorPeriodUsed","type":"{ fiscalYear: number; periodEndDate: string; periodType: string; }","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"return.assumptions.priorPeriodUsed.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.assumptions.priorPeriodUsed.periodEndDate","type":"string","description":"","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"return.assumptions.priorPeriodUsed.periodType","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.assumptions.restatementPolicy","type":"RestatementPolicy","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.diagnostics","type":"{ warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.diagnostics.warnings","type":"string[]","description":"One warning per metric that could not be formed (mirrors `missing`).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.missing","type":"{ metric: string; reason: string; }[]","description":"Every metric that could not be formed, with its reason — the honest gaps ledger.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.periodUsed","type":"{ fiscalYear: number; periodEndDate: string; periodType: string; }","description":"The period the single-period metrics used.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.periodUsed.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.periodUsed.periodEndDate","type":"string","description":"","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"return.periodUsed.periodType","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.periodsVisible","type":"number","description":"How many statement sets were visible at `asOf` after restatement resolution.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.priorPeriodUsed","type":"{ fiscalYear: number; periodEndDate: string; periodType: string; }","description":"The prior period the average-balance metrics used, when one was visible.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"return.priorPeriodUsed.fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.priorPeriodUsed.periodEndDate","type":"string","description":"","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"return.priorPeriodUsed.periodType","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.ratios","type":"Record<string, AnalyzedRatio>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.restatementPolicy","type":"RestatementPolicy","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.scores","type":"{ altman?: AltmanResult; beneish?: BeneishResult; piotroski?: PiotroskiResult; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.scores.altman","type":"AltmanResult","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"return.scores.beneish","type":"BeneishResult","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"return.scores.piotroski","type":"PiotroskiResult","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#assetTurnover","name":"assetTurnover","kind":"function","url":"/reference/totalfinance/fundamentals/page-3#assetTurnover","signature":"export declare const assetTurnover: RatioFacade<PairRatioInput>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"PairRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).current","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).prior","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: PairRatioInput) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"PairRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).current","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).prior","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#beneishMScore","name":"beneishMScore","kind":"function","url":"/reference/totalfinance/fundamentals/page-3#beneishMScore","signature":"export declare function beneishMScore(input: BeneishInput): BeneishResult;","description":"The original eight-variable 1999 Beneish equation\n`-4.84 + 0.920 DSRI + 0.528 GMI + 0.404 AQI + 0.892 SGI + 0.115 DEPI - 0.172 SGAI + 4.679 TATA\n- 0.327 LVGI`, with the component definitions fixed to the paper. Every variable the model needs\nmust be present in both periods — there is NO five-variable fallback, silent or otherwise.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"BeneishInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).current","type":"FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).prior","type":"FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.assumptions","type":"{ model: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.assumptions.model","type":"string","description":"The published model name (a label, deliberately not a literal type).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.components","type":"BeneishComponent[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.diagnostics","type":"{ warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.diagnostics.warnings","type":"string[]","description":"Conventions the inputs forced (e.g. D&A standing in for pure depreciation) — disclosed.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.mScore","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.notes","type":"string[]","description":"The same disclosures as `diagnostics.warnings` (kept for direct reading).","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#bookValuePerShare","name":"bookValuePerShare","kind":"function","url":"/reference/totalfinance/fundamentals/page-3#bookValuePerShare","signature":"export declare const bookValuePerShare: RatioFacade<SingleStatementRatioInput>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"SingleStatementRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).statements","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: SingleStatementRatioInput) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"SingleStatementRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).statements","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#cashConversionCycle","name":"cashConversionCycle","kind":"function","url":"/reference/totalfinance/fundamentals/page-3#cashConversionCycle","signature":"export declare const cashConversionCycle: RatioFacade<DayMetricRatioInput>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"DayMetricRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).current","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).periodDays","type":"number","description":"","optional":false,"defaultValue":null,"unit":"days"},{"name":"(input).prior","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: DayMetricRatioInput) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"DayMetricRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).current","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).periodDays","type":"number","description":"","optional":false,"defaultValue":null,"unit":"days"},{"name":"explain(input).prior","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#cashFlowToNetIncome","name":"cashFlowToNetIncome","kind":"function","url":"/reference/totalfinance/fundamentals/page-3#cashFlowToNetIncome","signature":"export declare const cashFlowToNetIncome: RatioFacade<SingleStatementRatioInput>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"SingleStatementRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).statements","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: SingleStatementRatioInput) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"SingleStatementRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).statements","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#cashRatio","name":"cashRatio","kind":"function","url":"/reference/totalfinance/fundamentals/page-3#cashRatio","signature":"export declare const cashRatio: RatioFacade<BalanceSheetRatioInput<Pick<BalanceSheet, 'period' | 'cashAndCashEquivalents' | 'currentLiabilities'>>>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"BalanceSheetRatioInput<Pick<BalanceSheet, 'period' | 'cashAndCashEquivalents' | 'currentLiabilities'>>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance","type":"Pick<BalanceSheet, 'period' | 'cashAndCashEquivalents' | 'currentLiabilities'> & Partial<BalanceSheet>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.cashAndCashEquivalents","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.totalAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.totalEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.totalLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).statements","type":"never","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: BalanceSheetRatioInput<Pick<BalanceSheet, 'period' | 'cashAndCashEquivalents' | 'currentLiabilities'>>) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"BalanceSheetRatioInput<Pick<BalanceSheet, 'period' | 'cashAndCashEquivalents' | 'currentLiabilities'>>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance","type":"Pick<BalanceSheet, 'period' | 'cashAndCashEquivalents' | 'currentLiabilities'> & Partial<BalanceSheet>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.cashAndCashEquivalents","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.totalAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.totalEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.totalLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).statements","type":"never","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#cashReturnOnAssets","name":"cashReturnOnAssets","kind":"function","url":"/reference/totalfinance/fundamentals/page-3#cashReturnOnAssets","signature":"export declare const cashReturnOnAssets: RatioFacade<PairRatioInput>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"PairRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).current","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).prior","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: PairRatioInput) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"PairRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).current","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).prior","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#commonSizeFinancialStatements","name":"commonSizeFinancialStatements","kind":"function","url":"/reference/totalfinance/fundamentals/page-3#commonSizeFinancialStatements","signature":"export declare function commonSizeFinancialStatements(input: CommonSizeInput): CommonSizeResult;","description":"Common-size statements: every reported numeric line divided by its conventional base — income\nand cash-flow lines by revenue, balance lines by total assets. Fractions, never display\npercentages. A zero base is an error naming itself, not an Infinity.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"CommonSizeInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).statements","type":"FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.assumptions","type":"{ balanceBasis: 'totalAssets'; cashFlowBasis: 'revenue'; incomeBasis: 'revenue'; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.assumptions.balanceBasis","type":"'totalAssets'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.assumptions.cashFlowBasis","type":"'revenue'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.assumptions.incomeBasis","type":"'revenue'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.balance","type":"{ basis: 'totalAssets'; lines: Record<string, number>; }","description":"Balance lines over `totalAssets`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.balance.basis","type":"'totalAssets'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.balance.lines","type":"Record<string, number>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.cashFlow","type":"{ basis: 'revenue'; lines: Record<string, number>; }","description":"Cash-flow lines over `revenue`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.cashFlow.basis","type":"'revenue'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.cashFlow.lines","type":"Record<string, number>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.diagnostics","type":"{ warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.income","type":"{ basis: 'revenue'; lines: Record<string, number>; }","description":"Income lines over `revenue`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.income.basis","type":"'revenue'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.income.lines","type":"Record<string, number>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#currentRatio","name":"currentRatio","kind":"function","url":"/reference/totalfinance/fundamentals/page-4#currentRatio","signature":"export declare const currentRatio: RatioFacade<BalanceSheetRatioInput<Pick<BalanceSheet, 'period' | 'currentLiabilities' | 'currentAssets'>>>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"BalanceSheetRatioInput<Pick<BalanceSheet, 'period' | 'currentLiabilities' | 'currentAssets'>>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance","type":"Pick<BalanceSheet, 'period' | 'currentLiabilities' | 'currentAssets'> & Partial<BalanceSheet>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.cashAndCashEquivalents","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.totalAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.totalEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.totalLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).statements","type":"never","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: BalanceSheetRatioInput<Pick<BalanceSheet, 'period' | 'currentLiabilities' | 'currentAssets'>>) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"BalanceSheetRatioInput<Pick<BalanceSheet, 'period' | 'currentLiabilities' | 'currentAssets'>>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance","type":"Pick<BalanceSheet, 'period' | 'currentLiabilities' | 'currentAssets'> & Partial<BalanceSheet>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.cashAndCashEquivalents","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.totalAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.totalEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.totalLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).statements","type":"never","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#daysInventoryOutstanding","name":"daysInventoryOutstanding","kind":"function","url":"/reference/totalfinance/fundamentals/page-4#daysInventoryOutstanding","signature":"export declare const daysInventoryOutstanding: RatioFacade<DayMetricRatioInput>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"DayMetricRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).current","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).periodDays","type":"number","description":"","optional":false,"defaultValue":null,"unit":"days"},{"name":"(input).prior","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: DayMetricRatioInput) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"DayMetricRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).current","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).periodDays","type":"number","description":"","optional":false,"defaultValue":null,"unit":"days"},{"name":"explain(input).prior","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#daysPayablesOutstanding","name":"daysPayablesOutstanding","kind":"function","url":"/reference/totalfinance/fundamentals/page-4#daysPayablesOutstanding","signature":"export declare const daysPayablesOutstanding: RatioFacade<DayMetricRatioInput>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"DayMetricRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).current","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).periodDays","type":"number","description":"","optional":false,"defaultValue":null,"unit":"days"},{"name":"(input).prior","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: DayMetricRatioInput) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"DayMetricRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).current","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).periodDays","type":"number","description":"","optional":false,"defaultValue":null,"unit":"days"},{"name":"explain(input).prior","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#daysSalesOutstanding","name":"daysSalesOutstanding","kind":"function","url":"/reference/totalfinance/fundamentals/page-4#daysSalesOutstanding","signature":"export declare const daysSalesOutstanding: RatioFacade<DayMetricRatioInput>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"DayMetricRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).current","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).periodDays","type":"number","description":"","optional":false,"defaultValue":null,"unit":"days"},{"name":"(input).prior","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: DayMetricRatioInput) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"DayMetricRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).current","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).periodDays","type":"number","description":"","optional":false,"defaultValue":null,"unit":"days"},{"name":"explain(input).prior","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#debtServiceCoverage","name":"debtServiceCoverage","kind":"function","url":"/reference/totalfinance/fundamentals/page-4#debtServiceCoverage","signature":"export declare const debtServiceCoverage: RatioFacade<DebtServiceCoverageInput>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"DebtServiceCoverageInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: DebtServiceCoverageInput) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"DebtServiceCoverageInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#debtToAssets","name":"debtToAssets","kind":"function","url":"/reference/totalfinance/fundamentals/page-4#debtToAssets","signature":"export declare const debtToAssets: RatioFacade<BalanceSheetRatioInput<Pick<BalanceSheet, 'period' | 'totalAssets' | 'shortTermDebt' | 'longTermDebt' | 'totalDebt'>>>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"BalanceSheetRatioInput<Pick<BalanceSheet, 'period' | 'totalAssets' | 'shortTermDebt' | 'longTermDebt' | 'totalDebt'>>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance","type":"Pick<BalanceSheet, 'period' | 'totalAssets' | 'shortTermDebt' | 'longTermDebt' | 'totalDebt'> & Partial<BalanceSheet>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.cashAndCashEquivalents","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.totalAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.totalEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.totalLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).statements","type":"never","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: BalanceSheetRatioInput<Pick<BalanceSheet, 'period' | 'totalAssets' | 'shortTermDebt' | 'longTermDebt' | 'totalDebt'>>) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"BalanceSheetRatioInput<Pick<BalanceSheet, 'period' | 'totalAssets' | 'shortTermDebt' | 'longTermDebt' | 'totalDebt'>>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance","type":"Pick<BalanceSheet, 'period' | 'totalAssets' | 'shortTermDebt' | 'longTermDebt' | 'totalDebt'> & Partial<BalanceSheet>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.cashAndCashEquivalents","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.totalAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.totalEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.totalLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).statements","type":"never","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#debtToEquity","name":"debtToEquity","kind":"function","url":"/reference/totalfinance/fundamentals/page-4#debtToEquity","signature":"export declare const debtToEquity: RatioFacade<BalanceSheetRatioInput<Pick<BalanceSheet, 'period' | 'shortTermDebt' | 'longTermDebt' | 'totalDebt' | 'totalEquity'>>>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"BalanceSheetRatioInput<Pick<BalanceSheet, 'period' | 'shortTermDebt' | 'longTermDebt' | 'totalDebt' | 'totalEquity'>>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance","type":"Pick<BalanceSheet, 'period' | 'shortTermDebt' | 'longTermDebt' | 'totalDebt' | 'totalEquity'> & Partial<BalanceSheet>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.cashAndCashEquivalents","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.totalAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.totalEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.totalLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).statements","type":"never","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: BalanceSheetRatioInput<Pick<BalanceSheet, 'period' | 'shortTermDebt' | 'longTermDebt' | 'totalDebt' | 'totalEquity'>>) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"BalanceSheetRatioInput<Pick<BalanceSheet, 'period' | 'shortTermDebt' | 'longTermDebt' | 'totalDebt' | 'totalEquity'>>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance","type":"Pick<BalanceSheet, 'period' | 'shortTermDebt' | 'longTermDebt' | 'totalDebt' | 'totalEquity'> & Partial<BalanceSheet>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.cashAndCashEquivalents","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.totalAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.totalEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.totalLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).statements","type":"never","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#dividendYield","name":"dividendYield","kind":"function","url":"/reference/totalfinance/fundamentals/page-4#dividendYield","signature":"export declare const dividendYield: RatioFacade<MarketMultipleRatioInput>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"MarketMultipleRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).marketObservation","type":"import('@insiderfinance/totalfinance/fundamentals').MarketObservation","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).maximumStalenessMs","type":"number","description":"","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"(input).statements","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: MarketMultipleRatioInput) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"MarketMultipleRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).marketObservation","type":"import('@insiderfinance/totalfinance/fundamentals').MarketObservation","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).maximumStalenessMs","type":"number","description":"","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain(input).statements","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#earningsPerShare","name":"earningsPerShare","kind":"function","url":"/reference/totalfinance/fundamentals/page-4#earningsPerShare","signature":"export declare const earningsPerShare: RatioFacade<IncomeStatementRatioInput<Pick<IncomeStatement, 'period' | 'netIncome' | 'dilutedSharesOutstanding'>>>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"IncomeStatementRatioInput<Pick<IncomeStatement, 'period' | 'netIncome' | 'dilutedSharesOutstanding'>>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income","type":"Pick<IncomeStatement, 'period' | 'netIncome' | 'dilutedSharesOutstanding'> & Partial<IncomeStatement>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.netIncome","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.operatingIncome","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.revenue","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).statements","type":"never","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: IncomeStatementRatioInput<Pick<IncomeStatement, 'period' | 'netIncome' | 'dilutedSharesOutstanding'>>) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"IncomeStatementRatioInput<Pick<IncomeStatement, 'period' | 'netIncome' | 'dilutedSharesOutstanding'>>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income","type":"Pick<IncomeStatement, 'period' | 'netIncome' | 'dilutedSharesOutstanding'> & Partial<IncomeStatement>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.netIncome","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.operatingIncome","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.revenue","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).statements","type":"never","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#earningsYield","name":"earningsYield","kind":"function","url":"/reference/totalfinance/fundamentals/page-4#earningsYield","signature":"export declare const earningsYield: RatioFacade<MarketMultipleRatioInput>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"MarketMultipleRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).marketObservation","type":"import('@insiderfinance/totalfinance/fundamentals').MarketObservation","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).maximumStalenessMs","type":"number","description":"","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"(input).statements","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: MarketMultipleRatioInput) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"MarketMultipleRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).marketObservation","type":"import('@insiderfinance/totalfinance/fundamentals').MarketObservation","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).maximumStalenessMs","type":"number","description":"","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain(input).statements","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#ebitdaMargin","name":"ebitdaMargin","kind":"function","url":"/reference/totalfinance/fundamentals/page-4#ebitdaMargin","signature":"export declare const ebitdaMargin: RatioFacade<SingleStatementRatioInput>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"SingleStatementRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).statements","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: SingleStatementRatioInput) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"SingleStatementRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).statements","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#enterpriseValueToEbitda","name":"enterpriseValueToEbitda","kind":"function","url":"/reference/totalfinance/fundamentals/page-4#enterpriseValueToEbitda","signature":"export declare const enterpriseValueToEbitda: RatioFacade<EnterpriseMultipleRatioInput>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"EnterpriseMultipleRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).marketObservation","type":"import('@insiderfinance/totalfinance/fundamentals').MarketObservation","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).maximumStalenessMs","type":"number","description":"","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"(input).nonOperatingAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).statements","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: EnterpriseMultipleRatioInput) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"EnterpriseMultipleRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).marketObservation","type":"import('@insiderfinance/totalfinance/fundamentals').MarketObservation","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).maximumStalenessMs","type":"number","description":"","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain(input).nonOperatingAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).statements","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#enterpriseValueToRevenue","name":"enterpriseValueToRevenue","kind":"function","url":"/reference/totalfinance/fundamentals/page-4#enterpriseValueToRevenue","signature":"export declare const enterpriseValueToRevenue: RatioFacade<EnterpriseMultipleRatioInput>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"EnterpriseMultipleRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).marketObservation","type":"import('@insiderfinance/totalfinance/fundamentals').MarketObservation","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).maximumStalenessMs","type":"number","description":"","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"(input).nonOperatingAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).statements","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: EnterpriseMultipleRatioInput) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"EnterpriseMultipleRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).marketObservation","type":"import('@insiderfinance/totalfinance/fundamentals').MarketObservation","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).maximumStalenessMs","type":"number","description":"","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain(input).nonOperatingAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).statements","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#freeCashFlowPerShare","name":"freeCashFlowPerShare","kind":"function","url":"/reference/totalfinance/fundamentals/page-4#freeCashFlowPerShare","signature":"export declare const freeCashFlowPerShare: RatioFacade<SingleStatementRatioInput>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"SingleStatementRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).statements","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: SingleStatementRatioInput) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"SingleStatementRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).statements","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#freeCashFlowYield","name":"freeCashFlowYield","kind":"function","url":"/reference/totalfinance/fundamentals/page-4#freeCashFlowYield","signature":"export declare const freeCashFlowYield: RatioFacade<MarketMultipleRatioInput>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"MarketMultipleRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).marketObservation","type":"import('@insiderfinance/totalfinance/fundamentals').MarketObservation","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).maximumStalenessMs","type":"number","description":"","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"(input).statements","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: MarketMultipleRatioInput) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"MarketMultipleRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).marketObservation","type":"import('@insiderfinance/totalfinance/fundamentals').MarketObservation","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).maximumStalenessMs","type":"number","description":"","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain(input).statements","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#fundamentalGrowth","name":"fundamentalGrowth","kind":"function","url":"/reference/totalfinance/fundamentals/page-4#fundamentalGrowth","signature":"export declare function fundamentalGrowth(input: FundamentalGrowthInput): FundamentalGrowthResult;","description":"Period-over-period and compound annual growth of one fundamental amount.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"FundamentalGrowthInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).observations","type":"readonly { periodEndDate: string; amount: number; }[]","description":"At least two observations of one amount, period end ascending.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.assumptions","type":"{ elapsedYearsBasis: string; observationCount: number; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.assumptions.elapsedYearsBasis","type":"string","description":"Elapsed time between period ends is an ACT/365F year fraction (a label, not a literal).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.assumptions.observationCount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"count (integer)"},{"name":"return.compoundAnnualGrowthRate","type":"number | null","description":"Compound annual growth from the first to the last observation over the ACTUAL elapsed years\n(ACT/365F between the period ends), or `null` with the reason when the endpoints make the\nexponent meaningless (non-positive start, sign change, or zero elapsed time).","optional":false,"defaultValue":null,"unit":"decimal rate (0.05 = 5%)"},{"name":"return.compoundAnnualGrowthReason","type":"string","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"return.diagnostics","type":"{ warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.diagnostics.warnings","type":"string[]","description":"Every null growth's reason surfaces here too, so a reader scans one place.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.elapsedYears","type":"number","description":"","optional":false,"defaultValue":null,"unit":"years (decimal)"},{"name":"return.periodOverPeriod","type":"{ fromPeriodEndDate: string; toPeriodEndDate: string; growth: number | null; reason?: string; }[]","description":"One row per adjacent pair: fractional growth `current / prior - 1`, or `null` with the reason\nwhen the prior amount is zero or the pair crosses sign (a growth rate through zero has no\nmeaningful magnitude).","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#grossMargin","name":"grossMargin","kind":"function","url":"/reference/totalfinance/fundamentals/page-4#grossMargin","signature":"export declare const grossMargin: RatioFacade<IncomeStatementRatioInput<Pick<IncomeStatement, 'period' | 'revenue' | 'costOfRevenue' | 'grossProfit'>>>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"IncomeStatementRatioInput<Pick<IncomeStatement, 'period' | 'revenue' | 'costOfRevenue' | 'grossProfit'>>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income","type":"Pick<IncomeStatement, 'period' | 'revenue' | 'costOfRevenue' | 'grossProfit'> & Partial<IncomeStatement>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.netIncome","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.operatingIncome","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.revenue","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).statements","type":"never","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: IncomeStatementRatioInput<Pick<IncomeStatement, 'period' | 'revenue' | 'costOfRevenue' | 'grossProfit'>>) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"IncomeStatementRatioInput<Pick<IncomeStatement, 'period' | 'revenue' | 'costOfRevenue' | 'grossProfit'>>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income","type":"Pick<IncomeStatement, 'period' | 'revenue' | 'costOfRevenue' | 'grossProfit'> & Partial<IncomeStatement>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.netIncome","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.operatingIncome","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.revenue","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).statements","type":"never","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#interestCoverage","name":"interestCoverage","kind":"function","url":"/reference/totalfinance/fundamentals/page-4#interestCoverage","signature":"export declare const interestCoverage: RatioFacade<IncomeStatementRatioInput<Pick<IncomeStatement, 'period' | 'operatingIncome' | 'interestExpense'>>>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"IncomeStatementRatioInput<Pick<IncomeStatement, 'period' | 'operatingIncome' | 'interestExpense'>>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income","type":"Pick<IncomeStatement, 'period' | 'operatingIncome' | 'interestExpense'> & Partial<IncomeStatement>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.netIncome","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.operatingIncome","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.revenue","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).statements","type":"never","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: IncomeStatementRatioInput<Pick<IncomeStatement, 'period' | 'operatingIncome' | 'interestExpense'>>) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"IncomeStatementRatioInput<Pick<IncomeStatement, 'period' | 'operatingIncome' | 'interestExpense'>>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income","type":"Pick<IncomeStatement, 'period' | 'operatingIncome' | 'interestExpense'> & Partial<IncomeStatement>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.netIncome","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.operatingIncome","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.revenue","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).statements","type":"never","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#inventoryTurnover","name":"inventoryTurnover","kind":"function","url":"/reference/totalfinance/fundamentals/page-4#inventoryTurnover","signature":"export declare const inventoryTurnover: RatioFacade<PairRatioInput>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"PairRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).current","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).prior","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: PairRatioInput) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"PairRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).current","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).prior","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#isPeriodAvailableAt","name":"isPeriodAvailableAt","kind":"function","url":"/reference/totalfinance/fundamentals/page-4#isPeriodAvailableAt","signature":"export declare function isPeriodAvailableAt(period: FundamentalPeriod, asOf: EpochMs): boolean;","description":"Point-in-time eligibility: whether `period` was AVAILABLE to an observer at `asOf` (epoch ms).\n`availableTimestampMs`, not `periodEndDate`, controls eligibility — a restatement is a NEW\nversion with its own availability and provenance, so a backtest never sees it early.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(asOf)","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(period)","type":"FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(period).accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(period).availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"(period).currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(period).filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"(period).fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(period).fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(period).form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(period).monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(period).periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"(period).periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"(period).periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(period).restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#netDebtToEbitda","name":"netDebtToEbitda","kind":"function","url":"/reference/totalfinance/fundamentals/page-5#netDebtToEbitda","signature":"export declare const netDebtToEbitda: RatioFacade<SingleStatementRatioInput>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"SingleStatementRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).statements","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: SingleStatementRatioInput) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"SingleStatementRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).statements","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#netProfitMargin","name":"netProfitMargin","kind":"function","url":"/reference/totalfinance/fundamentals/page-5#netProfitMargin","signature":"export declare const netProfitMargin: RatioFacade<IncomeStatementRatioInput<Pick<IncomeStatement, 'period' | 'revenue' | 'netIncome'>>>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"IncomeStatementRatioInput<Pick<IncomeStatement, 'period' | 'revenue' | 'netIncome'>>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income","type":"Pick<IncomeStatement, 'period' | 'revenue' | 'netIncome'> & Partial<IncomeStatement>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.netIncome","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.operatingIncome","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.revenue","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).statements","type":"never","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: IncomeStatementRatioInput<Pick<IncomeStatement, 'period' | 'revenue' | 'netIncome'>>) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"IncomeStatementRatioInput<Pick<IncomeStatement, 'period' | 'revenue' | 'netIncome'>>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income","type":"Pick<IncomeStatement, 'period' | 'revenue' | 'netIncome'> & Partial<IncomeStatement>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.netIncome","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.operatingIncome","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.revenue","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).statements","type":"never","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#operatingMargin","name":"operatingMargin","kind":"function","url":"/reference/totalfinance/fundamentals/page-5#operatingMargin","signature":"export declare const operatingMargin: RatioFacade<IncomeStatementRatioInput<Pick<IncomeStatement, 'period' | 'revenue' | 'operatingIncome'>>>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"IncomeStatementRatioInput<Pick<IncomeStatement, 'period' | 'revenue' | 'operatingIncome'>>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income","type":"Pick<IncomeStatement, 'period' | 'revenue' | 'operatingIncome'> & Partial<IncomeStatement>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.netIncome","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.operatingIncome","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.revenue","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).statements","type":"never","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: IncomeStatementRatioInput<Pick<IncomeStatement, 'period' | 'revenue' | 'operatingIncome'>>) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"IncomeStatementRatioInput<Pick<IncomeStatement, 'period' | 'revenue' | 'operatingIncome'>>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income","type":"Pick<IncomeStatement, 'period' | 'revenue' | 'operatingIncome'> & Partial<IncomeStatement>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.netIncome","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.operatingIncome","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.revenue","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).statements","type":"never","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#payablesTurnover","name":"payablesTurnover","kind":"function","url":"/reference/totalfinance/fundamentals/page-5#payablesTurnover","signature":"export declare const payablesTurnover: RatioFacade<PairRatioInput>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"PairRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).current","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).prior","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: PairRatioInput) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"PairRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).current","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).prior","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#perShareFundamentals","name":"perShareFundamentals","kind":"function","url":"/reference/totalfinance/fundamentals/page-5#perShareFundamentals","signature":"export declare function perShareFundamentals(input: PerShareFundamentalsInput): PerShareFundamentalsResult;","description":"Split-aware per-share normalization: the period's diluted shares are multiplied by the supplied\ncumulative split factor so a pre-split period and a post-split observer meet on one basis. The\nfactor and the shares used are echoed; shares absent or non-positive is an error, never a NaN.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"PerShareFundamentalsInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).splitFactorSincePeriod","type":"number","description":"Cumulative split factor between the period and the observer's share basis (e.g. `2` after a\n2-for-1 split since the period end). Default `1` — no split; the factor used is echoed.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).statements","type":"FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.assumptions","type":"{ dilutedSharesUsed: number; splitFactorSincePeriod: number; unitBasis: 'absolute currency per share'; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.assumptions.dilutedSharesUsed","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.assumptions.splitFactorSincePeriod","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.assumptions.unitBasis","type":"'absolute currency per share'","description":"Per-share values are ABSOLUTE currency per share (amount × monetaryScale / shares).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.bookValuePerShare","type":"number","description":"","optional":false,"defaultValue":null,"unit":"decimal fraction / multiple"},{"name":"return.diagnostics","type":"{ warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.dilutedSharesUsed","type":"number","description":"Split-adjusted diluted shares actually used as the denominator.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.earningsPerShare","type":"number","description":"","optional":false,"defaultValue":null,"unit":"decimal fraction / multiple"},{"name":"return.freeCashFlowPerShare","type":"number | null","description":"`operatingCashFlow - capitalExpenditure` per share; `null` when capex is absent.","optional":false,"defaultValue":null,"unit":"decimal fraction / multiple"},{"name":"return.freeCashFlowPerShareReason","type":"string","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"return.revenuePerShare","type":"number","description":"","optional":false,"defaultValue":null,"unit":"decimal fraction / multiple"},{"name":"return.splitFactorSincePeriod","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#piotroskiFScore","name":"piotroskiFScore","kind":"function","url":"/reference/totalfinance/fundamentals/page-5#piotroskiFScore","signature":"export declare function piotroskiFScore(input: PiotroskiInput): PiotroskiResult;","description":"The standard nine binary signals, per the paper: profitability (return on beginning assets,\noperating cash flow, their improvement, accruals), leverage/liquidity/funding (falling\nlong-term-debt ratio, improving current ratio, no net share issuance), and efficiency\n(improving gross margin, improving beginning-assets turnover). Each signal is reported, not\nonly the total; a signal whose statement line is absent reports `null` with the reason and is\nexcluded from `fScore` — never guessed to 0 or 1.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"PiotroskiInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).current","type":"FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).prior","type":"FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).priorPrior","type":"FinancialStatements","description":"The period before `prior`. Needed because the paper's return and turnover use BEGINNING\nassets, so the prior year's own signal needs the balance sheet one further back.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.assumptions","type":"{ model: string; returnBasis: 'beginning total assets'; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.assumptions.model","type":"string","description":"The published model name (a label, deliberately not a literal type).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.assumptions.returnBasis","type":"'beginning total assets'","description":"Returns and turnover use BEGINNING total assets, per the paper.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.diagnostics","type":"{ warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.diagnostics.warnings","type":"string[]","description":"One warning per unevaluable signal.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.evaluableSignals","type":"number","description":"How many of the nine signals could be evaluated; 9 when every input line was present.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.fScore","type":"number","description":"Sum of the evaluable signals (each 0 or 1).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.signals","type":"PiotroskiSignal[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#priceToBook","name":"priceToBook","kind":"function","url":"/reference/totalfinance/fundamentals/page-5#priceToBook","signature":"export declare const priceToBook: RatioFacade<MarketMultipleRatioInput>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"MarketMultipleRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).marketObservation","type":"import('@insiderfinance/totalfinance/fundamentals').MarketObservation","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).maximumStalenessMs","type":"number","description":"","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"(input).statements","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: MarketMultipleRatioInput) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"MarketMultipleRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).marketObservation","type":"import('@insiderfinance/totalfinance/fundamentals').MarketObservation","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).maximumStalenessMs","type":"number","description":"","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain(input).statements","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#priceToEarnings","name":"priceToEarnings","kind":"function","url":"/reference/totalfinance/fundamentals/page-5#priceToEarnings","signature":"export declare const priceToEarnings: RatioFacade<MarketMultipleRatioInput>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"MarketMultipleRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).marketObservation","type":"import('@insiderfinance/totalfinance/fundamentals').MarketObservation","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).maximumStalenessMs","type":"number","description":"","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"(input).statements","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: MarketMultipleRatioInput) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"MarketMultipleRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).marketObservation","type":"import('@insiderfinance/totalfinance/fundamentals').MarketObservation","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).maximumStalenessMs","type":"number","description":"","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain(input).statements","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#priceToSales","name":"priceToSales","kind":"function","url":"/reference/totalfinance/fundamentals/page-5#priceToSales","signature":"export declare const priceToSales: RatioFacade<MarketMultipleRatioInput>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"MarketMultipleRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).marketObservation","type":"import('@insiderfinance/totalfinance/fundamentals').MarketObservation","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).maximumStalenessMs","type":"number","description":"","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"(input).statements","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: MarketMultipleRatioInput) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"MarketMultipleRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).marketObservation","type":"import('@insiderfinance/totalfinance/fundamentals').MarketObservation","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).maximumStalenessMs","type":"number","description":"","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain(input).statements","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#quickRatio","name":"quickRatio","kind":"function","url":"/reference/totalfinance/fundamentals/page-5#quickRatio","signature":"export declare const quickRatio: RatioFacade<BalanceSheetRatioInput<Pick<BalanceSheet, 'period' | 'currentLiabilities' | 'inventory' | 'currentAssets'>>>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"BalanceSheetRatioInput<Pick<BalanceSheet, 'period' | 'currentLiabilities' | 'inventory' | 'currentAssets'>>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance","type":"Pick<BalanceSheet, 'period' | 'currentLiabilities' | 'inventory' | 'currentAssets'> & Partial<BalanceSheet>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.cashAndCashEquivalents","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.totalAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.totalEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).balance.totalLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).statements","type":"never","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: BalanceSheetRatioInput<Pick<BalanceSheet, 'period' | 'currentLiabilities' | 'inventory' | 'currentAssets'>>) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"BalanceSheetRatioInput<Pick<BalanceSheet, 'period' | 'currentLiabilities' | 'inventory' | 'currentAssets'>>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance","type":"Pick<BalanceSheet, 'period' | 'currentLiabilities' | 'inventory' | 'currentAssets'> & Partial<BalanceSheet>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.cashAndCashEquivalents","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.totalAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.totalEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).balance.totalLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).statements","type":"never","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#receivablesTurnover","name":"receivablesTurnover","kind":"function","url":"/reference/totalfinance/fundamentals/page-5#receivablesTurnover","signature":"export declare const receivablesTurnover: RatioFacade<PairRatioInput>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"PairRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).current","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).prior","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: PairRatioInput) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"PairRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).current","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).prior","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#reconcileFinancialStatements","name":"reconcileFinancialStatements","kind":"function","url":"/reference/totalfinance/fundamentals/page-5#reconcileFinancialStatements","signature":"export declare function reconcileFinancialStatements(input: ReconcileStatementsInput): ReconciliationResult;","description":"Accounting-identity diagnostics: the balance-sheet identity, gross-profit articulation,\ncurrent-versus-total containment, and — with the prior period — cash articulation\n(`Δcash = operating + investing + financing`). A check whose fields are absent reports `null`,\nnever a silent pass presented as proof.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"ReconcileStatementsInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).priorStatements","type":"FinancialStatements","description":"The immediately prior period, enabling the cash-articulation check across the two.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).statements","type":"FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).toleranceAmount","type":"number","description":"Absolute tolerance in reported units (period.monetaryScale). Default `1` — one reported unit,\nthe rounding a scaled filing can legitimately carry. Documented and echoed in the result.","optional":true,"defaultValue":null,"unit":"currency amount (the field or record currency)"},{"name":"return.assumptions","type":"{ toleranceAmount: number; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.assumptions.toleranceAmount","type":"number","description":"Absolute tolerance in reported units, echoed (default 1).","optional":false,"defaultValue":null,"unit":"currency amount (the field or record currency)"},{"name":"return.checks","type":"ReconciliationCheck[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.diagnostics","type":"{ warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.diagnostics.warnings","type":"string[]","description":"One warning per failed or unevaluable check.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.reconciles","type":"boolean","description":"True when every evaluable check is within tolerance.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.toleranceAmount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"currency amount (the field or record currency)"}]},{"id":"@insiderfinance/totalfinance/fundamentals#requireBalanceSheet","name":"requireBalanceSheet","kind":"function","url":"/reference/totalfinance/fundamentals/page-5#requireBalanceSheet","signature":"export declare function requireBalanceSheet(functionName: string, balance: BalanceSheet): void;","description":"Validate one {@link BalanceSheet} at a public boundary.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(balance)","type":"BalanceSheet","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(balance).accountsPayable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(balance).accountsReceivable","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(balance).cashAndCashEquivalents","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(balance).currentAssets","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(balance).currentLiabilities","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(balance).inventory","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(balance).longTermDebt","type":"number","description":"Interest-bearing debt due beyond one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(balance).metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(balance).minorityInterest","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(balance).period","type":"FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(balance).preferredEquity","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(balance).propertyPlantEquipmentNet","type":"number","description":"Net property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(balance).retainedEarnings","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(balance).shortTermDebt","type":"number","description":"Interest-bearing debt due within one year.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(balance).shortTermInvestments","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(balance).totalAssets","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(balance).totalDebt","type":"number","description":"Total interest-bearing debt. When absent and both maturities are present, consumers may derive\n`shortTermDebt + longTermDebt` and say so; \"debt\" NEVER silently means total liabilities.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(balance).totalEquity","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(balance).totalLiabilities","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(functionName)","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#requireCashFlowStatement","name":"requireCashFlowStatement","kind":"function","url":"/reference/totalfinance/fundamentals/page-5#requireCashFlowStatement","signature":"export declare function requireCashFlowStatement(functionName: string, cashFlow: CashFlowStatement): void;","description":"Validate one {@link CashFlowStatement} at a public boundary.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(cashFlow)","type":"CashFlowStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(cashFlow).acquisitions","type":"number","description":"Positive magnitude of cash spent on acquisitions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(cashFlow).capitalExpenditure","type":"number","description":"Positive magnitude of cash spent on property, plant, and equipment.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(cashFlow).depreciationAndAmortization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(cashFlow).dividendsPaid","type":"number","description":"Positive magnitude of cash paid out as dividends.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(cashFlow).financingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(cashFlow).investingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(cashFlow).metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(cashFlow).operatingCashFlow","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(cashFlow).period","type":"FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(cashFlow).shareRepurchases","type":"number","description":"Positive magnitude of cash spent repurchasing shares.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(cashFlow).stockBasedCompensation","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(functionName)","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#requireFinancialStatements","name":"requireFinancialStatements","kind":"function","url":"/reference/totalfinance/fundamentals/page-5#requireFinancialStatements","signature":"export declare function requireFinancialStatements(functionName: string, statements: FinancialStatements): void;","description":"Validate a {@link FinancialStatements} set: each statement, then the identity agreement — the\nthree periods must share `periodEndDate`, `periodType`, `currency`, and `monetaryScale`, because\nevery cross-statement ratio assumes one period and one unit.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(functionName)","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(statements)","type":"FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(statements).balance","type":"BalanceSheet","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(statements).cashFlow","type":"CashFlowStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(statements).income","type":"IncomeStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#requireFundamentalPeriod","name":"requireFundamentalPeriod","kind":"function","url":"/reference/totalfinance/fundamentals/page-5#requireFundamentalPeriod","signature":"export declare function requireFundamentalPeriod(functionName: string, period: FundamentalPeriod): asserts period is FundamentalPeriod;","description":"Validate a {@link FundamentalPeriod} at a public boundary (Law 12 closed request): presence,\ntypes, the strict date grammar, the literal domains, and the ordering facts a period must obey.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(functionName)","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(period)","type":"FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(period).accession","type":"string","description":"Source accession identifier, when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(period).availableTimestampMs","type":"number","description":"When the data became AVAILABLE to an observer — the point-in-time eligibility instant. A\nbacktest or event study must not see this period before this time; `periodEndDate` never\ncontrols eligibility.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"(period).currency","type":"string","description":"ISO 4217 currency of the monetary figures.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(period).filedTimestampMs","type":"number","description":"When the filing was made, when known.","optional":true,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"(period).fiscalQuarter","type":"1 | 2 | 3 | 4","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(period).fiscalYear","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(period).form","type":"string","description":"Source form (e.g. `10-Q`), when known.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(period).monetaryScale","type":"1 | 1000 | 1000000","description":"Monetary figures are reported in units of this scale.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(period).periodEndDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date the period ends on.","optional":false,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"(period).periodStartDate","type":"string","description":"Strict `YYYY-MM-DD` calendar date; optional because some sources report only period ends.","optional":true,"defaultValue":null,"unit":"calendar date (YYYY-MM-DD)"},{"name":"(period).periodType","type":"'quarter' | 'year' | 'trailing-twelve-months'","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(period).restatementOf","type":"string","description":"When this record restates an earlier one, the accession (or identifier) it restates.","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#requireIncomeStatement","name":"requireIncomeStatement","kind":"function","url":"/reference/totalfinance/fundamentals/page-5#requireIncomeStatement","signature":"export declare function requireIncomeStatement(functionName: string, income: IncomeStatement): void;","description":"Validate one {@link IncomeStatement} at a public boundary.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(functionName)","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(income)","type":"IncomeStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(income).costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(income).dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(income).grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(income).incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(income).incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(income).interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(income).metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(income).netIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(income).operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(income).operatingIncome","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(income).period","type":"FundamentalPeriod","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(income).revenue","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(income).sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#requireMarketObservation","name":"requireMarketObservation","kind":"function","url":"/reference/totalfinance/fundamentals/page-5#requireMarketObservation","signature":"export declare function requireMarketObservation(functionName: string, observation: MarketObservation): void;","description":"Validate a {@link MarketObservation} at a public boundary.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(functionName)","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(observation)","type":"MarketObservation","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(observation).marketCapitalization","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(observation).observedTimestampMs","type":"number","description":"When the price was observed (epoch ms). Must not precede the fundamentals' availability.","optional":false,"defaultValue":null,"unit":"epoch milliseconds (UTC instant)"},{"name":"(observation).sharePrice","type":"number","description":"","optional":false,"defaultValue":null,"unit":"currency amount (the field or record currency)"},{"name":"(observation).sharesOutstanding","type":"number","description":"Split-adjusted shares consistent with `sharePrice`.","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#returnOnAssets","name":"returnOnAssets","kind":"function","url":"/reference/totalfinance/fundamentals/page-5#returnOnAssets","signature":"export declare const returnOnAssets: RatioFacade<PairRatioInput>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"PairRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).current","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).prior","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: PairRatioInput) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"PairRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).current","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).prior","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#returnOnCapitalEmployed","name":"returnOnCapitalEmployed","kind":"function","url":"/reference/totalfinance/fundamentals/page-5#returnOnCapitalEmployed","signature":"export declare const returnOnCapitalEmployed: RatioFacade<PairRatioInput>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"PairRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).current","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).prior","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: PairRatioInput) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"PairRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).current","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).prior","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#returnOnEquity","name":"returnOnEquity","kind":"function","url":"/reference/totalfinance/fundamentals/page-6#returnOnEquity","signature":"export declare const returnOnEquity: RatioFacade<PairRatioInput>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"PairRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).current","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).prior","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: PairRatioInput) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"PairRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).current","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).prior","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#returnOnInvestedCapital","name":"returnOnInvestedCapital","kind":"function","url":"/reference/totalfinance/fundamentals/page-6#returnOnInvestedCapital","signature":"export declare const returnOnInvestedCapital: RatioFacade<InvestedCapitalRatioInput>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"InvestedCapitalRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).current","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).prior","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).taxRate","type":"number","description":"","optional":true,"defaultValue":null,"unit":"decimal rate (0.05 = 5%)"},{"name":"explain","type":"(input: InvestedCapitalRatioInput) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"InvestedCapitalRatioInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).current","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).prior","type":"import('@insiderfinance/totalfinance/fundamentals').FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).taxRate","type":"number","description":"","optional":true,"defaultValue":null,"unit":"decimal rate (0.05 = 5%)"}]},{"id":"@insiderfinance/totalfinance/fundamentals#revenuePerShare","name":"revenuePerShare","kind":"function","url":"/reference/totalfinance/fundamentals/page-6#revenuePerShare","signature":"export declare const revenuePerShare: RatioFacade<IncomeStatementRatioInput<Pick<IncomeStatement, 'period' | 'revenue' | 'dilutedSharesOutstanding'>>>;","description":"","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"IncomeStatementRatioInput<Pick<IncomeStatement, 'period' | 'revenue' | 'dilutedSharesOutstanding'>>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income","type":"Pick<IncomeStatement, 'period' | 'revenue' | 'dilutedSharesOutstanding'> & Partial<IncomeStatement>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.netIncome","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.operatingIncome","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.revenue","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).statements","type":"never","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain","type":"(input: IncomeStatementRatioInput<Pick<IncomeStatement, 'period' | 'revenue' | 'dilutedSharesOutstanding'>>) => import('@insiderfinance/totalfinance/fundamentals').RatioReport","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions","type":"{ category: import('@insiderfinance/totalfinance/fundamentals').RatioCategory; conventionsVersion: string; formula: string; period: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; priorPeriod?: import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity; ratioName: string; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.category","type":"import('@insiderfinance/totalfinance/fundamentals').RatioCategory","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.conventionsVersion","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.formula","type":"string","description":"The fixed formula, stated as prose (also in the generated reference documentation).","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.period","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.priorPeriod","type":"import('@insiderfinance/totalfinance/fundamentals').RatioPeriodIdentity","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.assumptions.ratioName","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics","type":"{ denominator: { label: string; amount: number; } | null; marketStalenessMs?: number; notes: string[]; numerator: { label: string; amount: number; } | null; reason?: string; warnings: string[]; }","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.denominator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.marketStalenessMs","type":"number","description":"For market multiples: how far the price sits after the fundamentals became available.","optional":true,"defaultValue":null,"unit":"milliseconds"},{"name":"explain().return.diagnostics.notes","type":"string[]","description":"Every derivation, omission, and convention the computation relied on.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator","type":"{ amount: number; label: string; } | null","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.amount","type":"number","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.numerator.label","type":"string","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.reason","type":"string","description":"Present exactly when `value` is null.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.diagnostics.warnings","type":"string[]","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain().return.value","type":"number | null","description":"A decimal ratio (never a displayed percentage), or `null` with `diagnostics.reason`.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input)","type":"IncomeStatementRatioInput<Pick<IncomeStatement, 'period' | 'revenue' | 'dilutedSharesOutstanding'>>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income","type":"Pick<IncomeStatement, 'period' | 'revenue' | 'dilutedSharesOutstanding'> & Partial<IncomeStatement>","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.costOfRevenue","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.dilutedSharesOutstanding","type":"number","description":"Split-adjusted weighted-average diluted shares for the period.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.grossProfit","type":"number","description":"Reported gross profit; when absent, consumers may derive `revenue - costOfRevenue` and say so.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.incomeFromContinuingOperations","type":"number","description":"When reported separately from `netIncome` (the Beneish accrual basis prefers it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.incomeTaxExpense","type":"number","description":"Positive magnitude (a net tax benefit is a negative amount and is stated as such).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.interestExpense","type":"number","description":"Positive magnitude.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.metadata","type":"Record<string, unknown>","description":"Source-specific extras, preserved verbatim and never consumed by compute functions.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.netIncome","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.operatingExpenses","type":"number","description":"Positive magnitude of total operating expenses below gross profit.","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.operatingIncome","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.period","type":"import('@insiderfinance/totalfinance/fundamentals').FundamentalPeriod","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.revenue","type":"number","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).income.sellingGeneralAdministrativeExpense","type":"number","description":"Positive magnitude (Beneish SGAI consumes it).","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"explain(input).statements","type":"never","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#selectFundamentalSnapshot","name":"selectFundamentalSnapshot","kind":"function","url":"/reference/totalfinance/fundamentals/page-6#selectFundamentalSnapshot","signature":"export declare function selectFundamentalSnapshot(input: SelectFundamentalSnapshotInput): FundamentalSnapshot;","description":"The point-in-time view of a series: availability-gated by `statementsAvailableTimestampMs` (never\nby period end), then resolved to ONE version per (periodType, periodEndDate) under the stated\nrestatement policy — `'latest-available'` takes the newest visible version, `'first-reported'`\ntakes the original filing and ignores restatements entirely.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"SelectFundamentalSnapshotInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).asOf","type":"number","description":"The observation instant (epoch ms). Only sets whose availability is at or before it qualify.","optional":false,"defaultValue":null,"unit":"an instant: epoch milliseconds or a YYYY-MM-DD / zoned ISO string (the resolveAsOf convention)"},{"name":"(input).restatementPolicy","type":"RestatementPolicy","description":"How multiple visible versions of one period resolve.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).series","type":"FundamentalSeries","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.asOf","type":"number","description":"","optional":false,"defaultValue":null,"unit":"an instant: epoch milliseconds or a YYYY-MM-DD / zoned ISO string (the resolveAsOf convention)"},{"name":"return.entity","type":"string","description":"","optional":true,"defaultValue":null,"unit":"unitless by name"},{"name":"return.restatementPolicy","type":"RestatementPolicy","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.statements","type":"readonly FinancialStatements[]","description":"One resolved version per (periodType, periodEndDate), period end ascending.","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#statementsAvailableTimestampMs","name":"statementsAvailableTimestampMs","kind":"function","url":"/reference/totalfinance/fundamentals/page-6#statementsAvailableTimestampMs","signature":"export declare function statementsAvailableTimestampMs(statements: FinancialStatements): number;","description":"The point-in-time availability of a statement SET: the latest of the three statements'\n`availableTimestampMs` — a set is visible only when every statement in it is. The set is\nvalidated IN FULL: a helper that answers an eligibility instant from a malformed set would\nsmuggle that malformation into every point-in-time decision built on it.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(statements)","type":"FinancialStatements","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(statements).balance","type":"BalanceSheet","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(statements).cashFlow","type":"CashFlowStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(statements).income","type":"IncomeStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]},{"id":"@insiderfinance/totalfinance/fundamentals#trailingTwelveMonthStatements","name":"trailingTwelveMonthStatements","kind":"function","url":"/reference/totalfinance/fundamentals/page-6#trailingTwelveMonthStatements","signature":"export declare function trailingTwelveMonthStatements(input: TrailingTwelveMonthInput): FinancialStatements;","description":"Compose four consecutive fiscal quarters into one trailing-twelve-months set: income and\ncash-flow FLOWS sum; BALANCES are the latest quarter's (a balance is a point, not a flow);\n`dilutedSharesOutstanding` is the four-quarter arithmetic mean (disclosed convention). The\nquarter chain is verified — a gap or an overlap is an error naming the break, never a silent\nannualization.","examples":[],"tags":[],"stability":"stable-by-law (pre-1.0; not a 1.0 stability guarantee)","members":[{"name":"(input)","type":"TrailingTwelveMonthInput","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"(input).statements","type":"readonly FinancialStatements[]","description":"Exactly four consecutive fiscal quarters, period end ascending.","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.balance","type":"BalanceSheet","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.cashFlow","type":"CashFlowStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"},{"name":"return.income","type":"IncomeStatement","description":"","optional":false,"defaultValue":null,"unit":"unitless by name"}]}]}