import type { Ref, RenderFunction, SetupContext } from 'vue' import type { PageViewBusProps } from '../base' import type { ComponentBaseOptions, ComponentSlotType, DefineComponentApp, DefineComponentInstance } from '../common' export declare const KPageViewBus: DefineComponentApp export type KPageViewBusInstance = DefineComponentInstance export interface KPageViewBusConstructor extends ComponentBaseOptions, KPageViewBusMethods { props: KPageViewBusProps context: SetupContext getRefMaps(): KPageViewBusPrivateRef getComputeMaps(): KPageViewBusPrivateComputed renderVN: RenderFunction } export interface KPageViewBusPrivateRef { refElem: Ref } export interface KPageViewBusPrivateComputed { } export type KPageViewBusProps = PageViewBusProps export type KPageViewBusEmits = { refresh: () => void } export interface KPageViewBusSlots { default: () => ComponentSlotType header: () => ComponentSlotType footer: () => ComponentSlotType /** * 已废弃,请使用 header * * @deprecated */ head: () => ComponentSlotType /** * 已废弃,请使用 footer * * @deprecated */ foot: () => ComponentSlotType } export interface KPageViewBusMethods { }