2023-04-23 08:06:43 -04:00
|
|
|
declare module "@ebooks/plottoriffic" {
|
2023-04-12 09:36:43 -04:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|