import { IGatsbyPage } from "../redux/types";
interface IErrorMeta {
    id: string;
    context: Record<string, unknown>;
}
export declare function validatePageComponent(page: IGatsbyPage, directory: string, pluginName: string): {
    message?: string;
    error?: IErrorMeta;
    panicOnBuild?: boolean;
};
export declare function clearValidationCache(): void;
export {};
