import { KeyDescription } from "./appBuilder.types"; import { InputsTypes, Categories, DefaultTypes, DataTypes, DecoratorPostions } from "./enums"; export declare const urlPathPattern: RegExp; export declare const urlPattern: RegExp; export declare const baseUrlPattern: RegExp; export declare const slugPattern: RegExp; export declare const tagPattern: RegExp; /** Allows colons as separators (e.g. notification:app:event or notification_tag:message_tag). */ export declare const compoundTagPattern: RegExp; export declare const firebaseDatabaseUrlPattern: RegExp; export declare const sqsUrlPattern: RegExp; export declare const mongoUrlPattern: RegExp; export declare const postgresUrlPattern: RegExp; export declare const mysqlUrlPattern: RegExp; export declare const findRegex: RegExp; export declare const filterRegex: RegExp; export declare const pickRegex: RegExp; export declare const trimRegex: RegExp; export declare const substringRegex: RegExp; export declare const replaceRegex: RegExp; export declare const dateFormatRegex: RegExp; export declare const lowercaseRegex: RegExp; export declare const uppercaseRegex: RegExp; export declare const concatRegex: RegExp; export declare const sumRegex: RegExp; export declare const substractRegex: RegExp; export declare const joinRegex: RegExp; export declare const splitRegex: RegExp; export declare const tagMessage: { "string.pattern.base": string; }; export declare const compoundTagMessage: { "string.pattern.base": string; }; export declare const tableMessage: { "string.pattern.base": string; }; export type PathParams = { [key: string]: string; }; interface BaseQueryParams { component: 'app' | 'product'; type?: 'apps' | 'process' | 'feature' | 'integrations' | 'actions' | 'database' | 'database_actions' | 'caches' | 'notifications'; groupBy?: 'day' | 'week' | 'month' | 'year'; tag?: string; search?: string; page?: number; limit?: number; status?: 'success' | 'processing' | 'fail'; parent_tag?: string; child_tag?: string; } interface AppQueryParams extends BaseQueryParams { component: 'app'; env?: string; name?: string; action?: string; } interface ProductQueryParams extends BaseQueryParams { component: 'product'; env?: string; name?: string; action?: string; } export type LogQueryParams = AppQueryParams | ProductQueryParams; export interface IParsedInput { key: string; value?: unknown; length?: number; type?: string; parent_key?: string; parent_index?: number; index?: number; level?: number; validated?: Boolean; } export interface IParsedSample extends IParsedIndexes { sampleValue?: string | number | object; description?: string; required: boolean; unique?: boolean; maxLength: number; minLength: number; decorator?: string; decoratorPosition?: DecoratorPostions; type: DataTypes; parent_index?: number; defaultValue?: string | number | string | boolean; defaultType?: DefaultTypes; } export interface IParsedPayload { data: object | string; category?: Categories; parent_key?: string; level?: number; index?: number; parent_index?: number; type?: InputsTypes; expected?: ExpectedValues; key_description?: KeyDescription[]; } export interface IParsedIndexes { parent_key?: string; level?: number; key?: string; index?: number; } export declare enum ExpectedValues { PARSEINPUT = "input", PARSESAMPLE = "sample" } export interface IResponseSuccessMarkers extends IParsedIndexes { } export {};