Type definition
export type DefinedPageLayout<O extends ObjectReference> = ObjectScoped<O, Omit<CustomObjectPageLayout, Mutations> & {
setTitleField(field: DefinitionFieldReference<O>): DefinedPageLayout<O>;
setDescriptionField(field: DefinitionFieldReference<O>): DefinedPageLayout<O>;
removeSection(section: SectionReference<O> | string, options?: RemovePageLayoutSectionOptions | RemoveSystemPageLayoutSectionOptions): DefinedPageLayout<O>;
} & {
[K in Exclude<Mutations, 'setTitleField' | 'setDescriptionField' | 'removeSection'>]: CustomObjectPageLayout[K] extends (...args: infer A) => unknown ? (...args: LayoutInput<O, A>) => DefinedPageLayout<O> : never;
}>;