import type { SanitizedConfig } from 'payload';
import type { ViewFromConfig } from './getRouteData.js';
export declare const getCustomViewByKey: ({ config, viewKey, }: {
    config: SanitizedConfig;
    viewKey: string;
}) => {
    view: ViewFromConfig;
    viewKey: string;
} | null;
//# sourceMappingURL=getCustomViewByKey.d.ts.map