/// import { BlockConfiguration } from "@wordpress/blocks"; import BlockInstruction from "../../core/blocks/BlockInstruction"; import { RenderEditProps, RenderSaveProps } from "../../core/blocks/BlockDefinition"; /** * Adds a date picker to the schema block. */ export default class Date extends BlockInstruction { options: { name: string; }; /** * The React components to show in the editor when editing this block. * * @param props The block's properties. * * @return The React components to show in the editor when editing this block. */ edit(props: RenderEditProps): JSX.Element; /** * Get the date format as set in the WordPress settings. * * @return The date format. */ static getDateFormat(): string; /** * The HTML to save to the database, as a React element. * * @param props The properties. * * @return The HTML to save to the database. */ save(props: RenderSaveProps): JSX.Element; /** * The partial configuration to add to the block instruction * that contains this instruction. * * @return The partial configuration. */ configuration(): Partial; }