Currently, typing is only supported using "type" and not "interface".
Example for reproducing an error:
interface IData {
title: string;
};
const { frontmatter } = await evaluate<IData>({...});
Error:
Type 'IData' does not satisfy the constraint 'Record<string, unknown>'.