import { FoxpageRequestOptions } from '@foxpage/foxpage-types';
/**
 * get block dsl
 * @param contentId
 * @param appId
 * @param opt
 * @returns
 */
export declare const getBlockDSL: (contentId: string, appId: string, opt: FoxpageRequestOptions) => Promise<import("@foxpage/foxpage-types").StructureNode<Record<string, any>>[]>;
/**
 * render block html by id
 * @param contentId block id
 * @param appId application id
 * @returns html string
 */
export declare const renderBlockHtml: (contentId: string, appId: string, opt: FoxpageRequestOptions) => Promise<{
    html: string | null;
    dsl: import("@foxpage/foxpage-types").ContextPage | undefined;
    vars: Record<string, unknown> & {
        has?: ((key: string) => boolean) | undefined;
    };
    contextValue: import("@foxpage/foxpage-types").Context;
}>;
