import { BlockEditProps, BlockInstance } from "@wordpress/blocks"; /** * Returns a normalized block ID. * * @param block The block. * * @returns A normalized block ID. */ export declare function getBlockId(block: BlockInstance): string; /** * Returns a fully qualified schema ID for a block. * * @param block The block. * * @returns A fully qualified schema ID. */ export declare function getBlockSchemaId(block: BlockInstance): string; /** * Finds a block's parent Id. * * @param clientId The clientId whose immediate parent's Id is desired. * @returns {string} The parent Id. */ export declare function getParentId(clientId: string): string; /** * Gets a block's parent BlockInstance. * * @param clientId The clientId whose parent is desired. * @returns The parent BlockInstance or null if none is found. */ export declare function getParent(clientId: string): BlockInstance; /** * Determines if the current block is nested inside a job posting. * * @param clientId The id of the block to find parents for. * @param parentNames The parent block names to look for. * * @returns {string} the clientId of the parent of the requested type, or null if no such parent was found. */ export declare function getParentIdOfType(clientId: string, parentNames: string[]): string[] | null; /** * Creates BlockEditProps for a block with a given blockId. * @param block The block to create BlockEditProps for. * @param selected True if the block is selected in the editor; default false. * @returns {BlockEditProps} The BlockEditProps. */ export declare function createBlockEditProps(block: BlockInstance, selected?: boolean): BlockEditProps>;