automuse/types/plottoriffic.d.ts

25 lines
448 B
TypeScript
Raw Permalink Normal View History

declare module "@ebooks/plottoriffic" {
export default PlotGenerator;
export type Character = {
symbol: string;
name: string;
description: string;
};
export type Plot = {
subject: string;
group: string;
subgroup: string;
description: string;
cast: Character[];
plot: string;
};
export class PlotGenerator {
constructor({ flipGenders }: { flipGenders?: boolean });
generate(): Plot;
}
}