export declare class OrgIdError extends Error { } /** * The configured org, or null when DECIBEL_ORG_ID is unset or blank. * A value that is set but not a uuid throws: a typo must not look like "unset". */ export declare function getOrgId(): string | null; /** The configured org, or an actionable error naming the variable. */ export declare function requireOrgId(): string; /** True when this process holds HQ service credentials. */ export declare function isHqConnected(): boolean; /** * Startup gate. Throws when HQ credentials are present but no valid org is. * Returns the org when connected, or null for a local-only install. */ export declare function assertOrgForHqConnection(): string | null; /** * For the HQ writers' entry points, which must never throw into the daemon: * the org, or null after logging why the feature is off. Reaching null on the * daemon path means the startup gate was skipped. */ export declare function orgOrLog(feature: string): string | null; //# sourceMappingURL=orgId.d.ts.map