import type { IBeanRecord, IBeanScopeRecord, TypeBeanScopeRecordKeys } from '../../bean/type.ts'; import type { IBeanSceneRecord } from '../../decorator/interface/beanOptions.ts'; import type { TypeAuthToken } from '../../types/utils/auth.ts'; import { BeanSimple } from '../../bean/beanSimple.ts'; export interface IApiActionConfigPrepareOptions { query?: {}; authToken?: TypeAuthToken; openapiSchema?: boolean; headers?: {}; } export declare class SysUtil extends BeanSimple { getAbsoluteUrlFromPagePath(path?: string, ignoreHost?: boolean, ignorePublicPath?: boolean): string; getPagePathFromAbsoluteUrl(url: string, ignorePublicPath?: boolean): string; getApiBaseURL(useApiPrefix?: boolean): string; getOpenApiBaseURL(envName: string): string; getApiPath(path: K): K extends string ? string : undefined; apiActionPathTranslate(pathName: string, pathParams?: Record): string; apiActionConfigPrepare(baseURL?: string, options?: IApiActionConfigPrepareOptions, authToken?: TypeAuthToken): any; getModuleConfigSafe(moduleName: K): IBeanScopeRecord[K] extends { config?: infer CONFIG; } ? CONFIG : undefined; getModuleConfigOriginal(moduleName: K): IBeanScopeRecord[K] extends { config?: infer CONFIG; } ? CONFIG : undefined; parseResourceApi(resource: string, api?: string): string; } export declare function uuid(): string; export declare function isUuid(str: string): boolean; export declare function objectAssignReactive(...args: any[]): T; export declare function deepExtend(...args: any[]): T; export declare function deepEqual(actual: unknown, expected: unknown, opts?: { strict?: boolean; }): boolean; export declare function disposeInstance(instance: any): void; export declare function polyfillDispose(instance: any): void; export declare function beanFullNameFromOnionName(onionName: string, sceneName: keyof IBeanSceneRecord): keyof IBeanRecord; export declare function onionNameFromBeanFullName(beanFullName: string, sceneName: keyof IBeanSceneRecord): string; export declare function convertToUnit(str: number, unit?: string): string; export declare function convertToUnit(str: string | number | null | undefined, unit?: string): string | undefined; export declare function isHttpUrl(url?: string): boolean; //# sourceMappingURL=util.d.ts.map