import { calculateResetAt } from '@trigger.dev/core'; export { FetchRetryOptions, FetchTimeoutOptions } from '@trigger.dev/core'; declare function safeJsonParse(json: string): unknown; declare function safeParseBody(body: any): any; declare const registerJobNamespace: (webhookKey: string) => string; declare function omit, K extends keyof T>(obj: T, keys: K[]): Omit; declare function truncate(str: string, maxLength: number): string; type Prettify = { [K in keyof T]: T[K]; } & {}; type Nullable = T extends Record ? { [K in keyof T]: T[K] | null; } : T | null; type ObjectNonNullable = { [K in keyof T]: K extends TKeys ? NonNullable : T[K]; }; type SomeNonNullable, TSome extends keyof T> = { [K in keyof T]: K extends TSome ? NonNullable : T[K]; }; type SomeNullable, TSome extends keyof T> = { [K in keyof T]: K extends TSome ? T[K] | null : T[K]; }; type FunctionKeys = { [K in keyof T]: T[K] extends Function ? K : never; }[keyof T]; type OmitFunctions = { [K in keyof T as Exclude>]: T[K]; }; type OmitIndexSignature = { [K in keyof T as {} extends Record ? never : K]: T[K]; }; type ObjectEntry = [keyof T, T[keyof T]]; type ObjectEntries = Array>; type OmitValues, TValue extends any> = { [K in keyof TRecord as TRecord[K] extends TValue ? never : K]: TRecord[K]; }; type Optional, TOptional extends keyof TRecord> = Omit & Partial>; declare const calculateResetAtUtil: typeof calculateResetAt; declare const entries: (object: T) => ObjectEntries; declare const fromEntries: (values: Entries) => { [K in Extract[0]]: Extract[1]; }; declare function titleCase(original: string): string; export { type Nullable, type ObjectEntries, type ObjectNonNullable, type OmitFunctions, type OmitIndexSignature, type OmitValues, type Optional, type Prettify, type SomeNonNullable, type SomeNullable, calculateResetAtUtil, entries, fromEntries, omit, registerJobNamespace, safeJsonParse, safeParseBody, titleCase, truncate };