import { PlatformaV1, PlatformaV2, PlatformaV3 } from '@platforma-sdk/model'; /** * Opens another block of the same project in the app, by block id. `undefined` when the app * cannot open blocks on a block's request — app versions released before it could, and pages * running outside the app — so a way to open a block is offered only when this is defined. */ export declare function useOpenBlock(): undefined | ((blockId: string) => Promise); /** The part of the host API that opens blocks. */ export type OpenBlockHost = Pick | Pick; /** Opening a block through `host`; `undefined` when there is no host or it cannot open blocks. */ export declare function hostOpenBlock(host: undefined | OpenBlockHost): undefined | ((blockId: string) => Promise); //# sourceMappingURL=useOpenBlock.d.ts.map