import { ImageBase64 } from "./image.type"; import { TemplateRef } from "@angular/core"; import { ObservableInput } from "rxjs"; import { DateTime, DateTimeRange } from "./date.type"; export type DeepReadonly = { readonly [P in keyof T]: T[P] extends DateTime ? T[P] : T[P] extends DateTimeRange ? T[P] : T[P] extends object ? DeepReadonly : T[P]; }; export type TypePropertiesProcessor = T extends any[] ? TPrimitive : T extends DateTime ? TPrimitive : T extends DateTimeRange ? TPrimitive : T extends ImageBase64 ? TPrimitive : T extends object ? TObject : TPrimitive; export type DropDownDataSource = { id: TKey; text: string; }[]; export type Severity = 'danger' | 'warning' | 'info' | 'success' | 'default'; export type Nullable = T | null; export type DeepPartial = T extends object ? { [P in keyof T]?: DeepPartial; } : T; export type UndefinedToNullable = T extends undefined ? null : Nullable; export type NullableType = { [P in keyof T]-?: TypePropertiesProcessor, NullableType>; }; export type PartialType = T extends object ? { [P in keyof T]?: PartialType; } : T; export type ArrayOrSingle = T[] | T; export type ActionResult = { data?: T; errorMessage?: string; }; export type EmptyActionResult = ActionResult; export type Pagination = { page: number; totalRecords: number; hasMoreData: boolean; }; export declare function actionsChainStep(project: (value: ActionResult, index: number) => ObservableInput>): import("rxjs").OperatorFunction, ActionResult>; export type ElementTemplateRef = TemplateRef; export type SelectOption = { name: string; value: T; }; export type ModelSelectOption = SelectOption;