import type { PatternsThunkArgs, SetEditingPatternAction } from './types'; /** * Returns a generator converting one or more static blocks into a pattern, or creating a new empty pattern. * * @param title Pattern title. * @param syncType They way block is synced, 'fully' or 'unsynced'. * @param content Optional serialized content of blocks to convert to pattern. * @param categories Ids of any selected categories. */ export declare const createPattern: (title: string, syncType: string | undefined, content?: string, categories?: Array) => ({ registry }: PatternsThunkArgs) => Promise; /** * Create a pattern from a JSON file. * @param file The JSON file instance of the pattern. * @param categories Ids of any selected categories. */ export declare const createPatternFromFile: (file: File, categories?: Array) => ({ dispatch }: PatternsThunkArgs) => Promise; /** * Returns a generator converting a synced pattern block into a static block. * * @param clientId The client ID of the block to attach. */ export declare const convertSyncedPatternToStatic: (clientId: string) => ({ registry }: PatternsThunkArgs) => void; /** * Returns an action descriptor for SET_EDITING_PATTERN action. * * @param clientId The clientID of the pattern to target. * @param isEditing Whether the block should be in editing state. * @return Action descriptor. */ export declare function setEditingPattern(clientId: string, isEditing: boolean): SetEditingPatternAction; //# sourceMappingURL=actions.d.ts.map