import { TokenPeriods } from '../../types/enums'; import { INotificationPayload, IProductNotificationTemplate } from '../../types/processor.types'; import { DataFormats } from '../../types/enums'; import { IStepInput, IProductDatabaseMigration } from '../../types/productsBuilder.types'; export declare const generateAxiosConfig: () => { headers: { Accept: DataFormats; 'Content-Type': DataFormats; }; }; export declare const generateObjectId: () => string; export declare const encrypt: (text: string, key: string) => string; export declare const decrypt: (text: string, key: string) => string; export declare const extractNumberFromArrayString: (str: string) => number | null; export declare const calculateExpiry: (expiry: number, period: TokenPeriods) => number; export declare const calculateJWTExpiry: (expiry: number, period: TokenPeriods) => string; export declare function parameterizeResource(resource: string, key: string, datapoint: string | undefined): string; export declare function validateNotification({ push_notification }: IProductNotificationTemplate, payload: INotificationPayload): void; export declare const isValidSqsUrl: (url: string) => boolean; export declare const removeWrappingQuotes: (str: string) => string; export declare const replacePlaceholderString: (template: string, payloadFields: Record) => string; export declare function generateNotificationTemplate({ push_notification }: IProductNotificationTemplate, payload: INotificationPayload): { title: string; body: string; data: string; }; export declare function convertStringToObject(str: string): any; export declare const mailerClient: (auth: any) => Promise>; export declare const transformToJson: (template: string, payload: Record) => any; export declare const generateDatabaseQuery: (query: string, payload: Record) => any; type SqlQueryResult = { parameterizedQuery: string; values: any[]; }; export declare function generateSqlQuery(template: string, data: Record | Record[]): SqlQueryResult; export declare const compareValues: (initiator: string | number, operator: string, value: string | number) => boolean; export declare const structuredClone: (data: any) => any; export declare const cleanBlob: (data: any) => any; /** * Returns a shallow copy of input with any buffer field truncated for logging/API (e.g. job execution tracker). * Use for file/storage job input so large buffers are not sent to the backend. */ export declare function truncateInputForApi(input: Record | null | undefined): Record | undefined; export declare const generateIndexes: (operator: string, //">" | "<" | ">=" | "<=" | "==" | "!==", iter: number, init: number, value: number) => number[]; export declare function parseTimeToMs(interval: string): number; export declare const validateStringsInObject: (obj: Record) => boolean; export declare const extractAxiosErrorDetails: (error: any) => { code: any; message: any; method: any; url: any; status: any; responseMessage: any; data: any; cause: any; nestedErrors: { message: any; code: any; address: any; port: any; syscall: any; }[]; } | { error: any; }; export declare const updateUrlsInObject: (obj: any, replacementValue: any) => { updatedObj: any; replacedUrl: string; }; export declare const validateFeatureJSONInput: (input: Record, feature_input: Record) => void; export declare const getMigrationsToRun: (allMigrations: IProductDatabaseMigration[], type: "up" | "down", migrationTag: string, env: string) => IProductDatabaseMigration[]; export declare const generateMockData: (resource: string, env: string, payload: Record) => { status: string; message: string; data: { id: `${string}-${string}-${string}-${string}-${string}`; account_id: number; amount: string; currency: any; card_hash: `${string}-${string}-${string}-${string}-${string}`; card_pan: string; masked_pan: string; city: any; state: any; address_1: any; address_2: string; zip_code: any; cvv: number; expiration: string; send_to: string; bin_check_name: string; card_type: string; name_on_card: any; created_at: string; is_active: boolean; callback_url: string; }; }; export declare function anonymizeObject(obj: T): T; export declare function anonymizeValue(value: string): string; export declare function toFormUrlEncoded(json: Record): string; export declare function extractSelectorValue(schema: Record, stages: Array, selector: string): any; export {};