import type { Ref } from 'vue';
/** 详情数据类型 */
export interface DetailData {
    id: string | null;
    title: string;
    summary: string;
    content: string;
    path: string;
    fileList: [];
    descList: [];
}
interface InfoOptions {
    visible: Ref<boolean>;
    fetchDetail: (id: string) => Promise<DetailData>;
}
interface InfoReturn {
    currentId: Ref<string | null>;
    loading: Ref<boolean>;
    detailData: Ref<DetailData | null>;
    enterDetail: (id: string) => Promise<void>;
    backToParent: () => void;
}
export declare function useInfo(options: InfoOptions): InfoReturn;
export {};
