/// <reference types="react" />
import { Customize as CustomizeType } from "@cocalc/server/settings/customize";
import { PathContents as PathContentsInterface } from "lib/share/get-contents";
interface Props {
    id: string;
    project_id: string;
    path: string;
    relativePath: string;
    contents: PathContentsInterface;
    error: string;
    customize: CustomizeType;
}
export default function PublicPath(props: Props): JSX.Element;
export declare function getServerSideProps(context: any): Promise<{
    props?: any;
    revalidate?: number | undefined;
    context: any;
} | {
    props: {
        customize: any;
    };
} | {
    notFound: boolean;
}>;
export {};
