import { ExecOptions } from "./core.ts";
import { DeviceOrientation } from "./device.ts";
/** 应用信息 */
export interface PackageInfo {
    appName: string;
    buildNumber: string;
    packageName: string;
    version: string;
    buildSignature?: string;
    installerStore?: string;
}
/** 应用 */
export interface RouteOptions<T> extends ExecOptions<T, any> {
    path: string;
    arguments?: object;
    orientation?: DeviceOrientation[];
}
/** 轻应用 */
export interface OpenWebViewOptions<T> extends ExecOptions<T, any> {
    url: string;
    orientation?: DeviceOrientation[];
    cacheOptions?: CachetOptions;
    appbarOptions?: AppBarOptions;
    enableZoom?: boolean;
    backgroundColor?: string;
    loadingOptions?: LoadingOptions;
}
/** 胶囊选项 */
export interface CachetOptions {
    show: boolean;
    backgroundColor?: string;
    foregroundColor?: string;
    borderColor?: string;
}
/** AppBar 选项 */
export interface AppBarOptions {
    show: boolean;
    title?: string;
    backgroundColor?: string;
    foregroundColor?: string;
    showBackButton?: boolean;
}
/** 加载指示器类型 */
export declare enum WebViewLoadingIndicatorType {
    circular = 0,
    linear = 1,
    ios = 2,
    text = 3
}
/** WebView Loading 选项 */
export interface LoadingOptions {
    loadingIndicatorType: WebViewLoadingIndicatorType;
    showProgressPercentage?: boolean;
    color?: string;
}
